151 lines
3.3 KiB
CSS
151 lines
3.3 KiB
CSS
body {
|
|
font-family: "SkipLegDay", Helvetica, Arial, sans-serif;
|
|
font-size: 20px;
|
|
font-weight: bold;
|
|
background: linear-gradient(180deg, #3F618C, #223A59);
|
|
background-size: 400% 400%;
|
|
-webkit-animation: AnimationName 10s ease infinite;
|
|
-moz-animation: AnimationName 10s ease infinite;
|
|
animation: AnimationName 10s ease infinite;
|
|
|
|
@-webkit-keyframes AnimationName {
|
|
0% {
|
|
background-position: 51% 0%
|
|
}
|
|
50% {
|
|
background-position: 50% 100%
|
|
}
|
|
100% {
|
|
background-position: 51% 0%
|
|
}
|
|
}
|
|
@-moz-keyframes AnimationName {
|
|
0% {
|
|
background-position: 51% 0%
|
|
}
|
|
50% {
|
|
background-position: 50% 100%
|
|
}
|
|
100% {
|
|
background-position: 51% 0%
|
|
}
|
|
}
|
|
@keyframes AnimationName {
|
|
0% {
|
|
background-position: 51% 0%
|
|
}
|
|
50% {
|
|
background-position: 50% 100%
|
|
}
|
|
100% {
|
|
background-position: 51% 0%
|
|
}
|
|
}
|
|
}
|
|
h1, small {
|
|
width: 600px;
|
|
text-align: center;
|
|
margin: 0 auto;
|
|
z-index: 10;
|
|
font-weight: bold;
|
|
color: #6C9BD9;
|
|
}
|
|
h1 {
|
|
font-size: 50px;
|
|
margin-top: 15px;
|
|
}
|
|
small {
|
|
display: block;
|
|
font-size: 18px;
|
|
line-height: 20px;
|
|
}
|
|
ul {list-style: none; float: left; margin: 100px 0 50px 0; line-height: 28px;}
|
|
ul li.validate {color: green; font-weight: bold; text-decoration : line-through;}
|
|
ul li.validate:before {content: '\2713 '; color: green; font-weight: bold;}
|
|
.canvas-container {float: left; margin: 100px 30px 30px 50px;}
|
|
#answer-container {display: none; clear: both; text-align: center;}
|
|
#answer-container input { }
|
|
#playground {background: url(feuille-de-papier.jpg) top left no-repeat; display: block; width: 600px; height:600px; margin: 0 auto;}
|
|
|
|
|
|
/* from http://davidwalsh.name/demo/css-flip.php */
|
|
.flip-container, .front, .back {
|
|
width: 600;
|
|
height: 600px;
|
|
}
|
|
|
|
/* flip speed goes here */
|
|
.flipper {
|
|
transition: 3s;
|
|
transform-style: preserve-3d;
|
|
position: relative;
|
|
}
|
|
|
|
|
|
/* entire container, keeps perspective */
|
|
.flip-container {
|
|
perspective: 1000;
|
|
transform-style: preserve-3d;
|
|
}
|
|
/* UPDATED! flip the pane when hovered */
|
|
.flip-container.flip .back {
|
|
transform: rotateY(0deg);
|
|
}
|
|
.flip-container.flip .front {
|
|
transform: rotateY(180deg);
|
|
}
|
|
|
|
/* hide back of pane during swap */
|
|
.front, .back {
|
|
backface-visibility: hidden;
|
|
transition: 3s;
|
|
transform-style: preserve-3d;
|
|
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
|
|
/* front pane, placed above back */
|
|
.front {
|
|
z-index: 2;
|
|
/* for firefox 31 */
|
|
transform: rotateY(0deg);
|
|
}
|
|
|
|
/* back, initially hidden pane */
|
|
.back {
|
|
transform: rotateY(-180deg);
|
|
}
|
|
|
|
.button {
|
|
border-top: 1px solid #96d1f8;
|
|
background: #0f1926;
|
|
background: -webkit-gradient(linear, left top, left bottom, from(#0f1926), to(#0f1926));
|
|
background: -webkit-linear-gradient(top, #0f1926, #0f1926);
|
|
background: -moz-linear-gradient(top, #0f1926, #0f1926);
|
|
background: -ms-linear-gradient(top, #0f1926, #0f1926);
|
|
background: -o-linear-gradient(top, #0f1926, #0f1926);
|
|
padding: 11px 22px;
|
|
-webkit-border-radius: 27px;
|
|
-moz-border-radius: 27px;
|
|
border-radius: 27px;
|
|
-webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
|
|
-moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
|
|
box-shadow: rgba(0,0,0,1) 0 1px 0;
|
|
text-shadow: rgba(0,0,0,.4) 0 1px 0;
|
|
color: white;
|
|
font-size: 11px;
|
|
font-family: Helvetica, Arial, Sans-Serif;
|
|
text-decoration: none;
|
|
vertical-align: middle;
|
|
}
|
|
.button:hover {
|
|
border-top-color: #28597a;
|
|
background: #28597a;
|
|
color: #ccc;
|
|
}
|
|
.button:active {
|
|
border-top-color: #0f1926;
|
|
background: #0f1926;
|
|
} |