154 lines
2.8 KiB
CSS
154 lines
2.8 KiB
CSS
* {
|
|
font-family: Helvetica Neue, Helvetica, sans-serif;
|
|
box-sizing: border-box;
|
|
}
|
|
html, body {
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
html {
|
|
font-size: 16px;
|
|
}
|
|
body {
|
|
background: #3f3552;
|
|
color: #fefdfd;
|
|
font-size: 100%;
|
|
font-weight: 300;
|
|
line-height: 1.3;
|
|
/**/
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
header {
|
|
margin: 0.5em;
|
|
text-align: center;
|
|
}
|
|
header h1 {
|
|
font-size: 3em;
|
|
}
|
|
header h2 {
|
|
text-transform: capitalize;
|
|
color: #6f6f6f;
|
|
}
|
|
|
|
button, button:hover, button:focus {
|
|
background-color: #CB4D59;
|
|
background-image: none;
|
|
border: 0;
|
|
border-bottom: 3px solid #8B121E;
|
|
border-radius: 0;
|
|
color: #FEFDFD;
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
line-height: 1.42857;
|
|
outline: none;
|
|
padding: 5px 20px;
|
|
position: relative;
|
|
text-decoration: none;
|
|
vertical-align: top;
|
|
white-space: nowrap;
|
|
-moz-user-select: none;
|
|
-webkit-appearance: none;
|
|
}
|
|
button.play, button.play:hover, button.play:focus {
|
|
background: #18AE90;
|
|
border-bottom: 3px solid #017F66;
|
|
padding: 10px 30px;
|
|
}
|
|
button.play:before {
|
|
content: "";
|
|
background: url('../img/play.svg') no-repeat center center;
|
|
font-size: 1em;
|
|
height: 30px;
|
|
left: 0;
|
|
position: absolute;
|
|
top: 5px;
|
|
width: 30px;
|
|
}
|
|
button.play.playing:before {
|
|
background: url('../img/stop.svg') no-repeat center center;
|
|
}
|
|
button:active {
|
|
top:3px;
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.sounds {
|
|
text-align: center;
|
|
}
|
|
.sounds ul {
|
|
list-style-type: none;
|
|
}
|
|
.sounds ul li {
|
|
display: inline-block;
|
|
height: 43px;
|
|
line-height: 43px;
|
|
margin: 1em;
|
|
position: relative;
|
|
width: 320px;
|
|
}
|
|
.sounds ul li button {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
width: 100%;
|
|
}
|
|
|
|
|
|
/* Spinner */
|
|
/* Source: http://tobiasahlin.com/spinkit/ */
|
|
.spinner {
|
|
margin: 100px auto;
|
|
width: 50px;
|
|
height: 40px;
|
|
text-align: center;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.spinner > div {
|
|
background-color: #dbdbdb;
|
|
height: 100%;
|
|
width: 6px;
|
|
display: inline-block;
|
|
|
|
-webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
|
|
animation: sk-stretchdelay 1.2s infinite ease-in-out;
|
|
}
|
|
|
|
.spinner .rect2 {
|
|
-webkit-animation-delay: -1.1s;
|
|
animation-delay: -1.1s;
|
|
}
|
|
|
|
.spinner .rect3 {
|
|
-webkit-animation-delay: -1.0s;
|
|
animation-delay: -1.0s;
|
|
}
|
|
|
|
.spinner .rect4 {
|
|
-webkit-animation-delay: -0.9s;
|
|
animation-delay: -0.9s;
|
|
}
|
|
|
|
.spinner .rect5 {
|
|
-webkit-animation-delay: -0.8s;
|
|
animation-delay: -0.8s;
|
|
}
|
|
|
|
@-webkit-keyframes sk-stretchdelay {
|
|
0%, 40%, 100% { -webkit-transform: scaleY(0.4) }
|
|
20% { -webkit-transform: scaleY(1.0) }
|
|
}
|
|
|
|
@keyframes sk-stretchdelay {
|
|
0%, 40%, 100% {
|
|
transform: scaleY(0.4);
|
|
-webkit-transform: scaleY(0.4);
|
|
} 20% {
|
|
transform: scaleY(1.0);
|
|
-webkit-transform: scaleY(1.0);
|
|
}
|
|
}
|