Sharkey/src/web/app/init.css

67 lines
905 B
CSS
Raw Normal View History

2017-05-24 02:52:17 +03:00
/**
* Boot screen style
*/
2017-02-19 11:21:03 +02:00
@charset 'utf-8';
html {
font-family: sans-serif;
}
2017-02-21 20:13:19 +02:00
body > noscript {
2017-02-19 11:21:03 +02:00
position: fixed;
2017-02-21 20:13:19 +02:00
z-index: 2;
2017-02-19 11:21:03 +02:00
top: 0;
left: 0;
width: 100%;
height: 100%;
text-align: center;
background: #fff;
}
2017-02-21 20:13:19 +02:00
body > noscript > p {
2017-02-19 11:21:03 +02:00
display: block;
margin: 32px;
font-size: 2em;
color: #555;
}
2017-02-21 20:13:19 +02:00
#ini {
2017-02-19 11:21:03 +02:00
position: fixed;
2017-02-21 20:13:19 +02:00
z-index: 1;
2017-02-19 11:21:03 +02:00
top: 0;
left: 0;
width: 100%;
height: 100%;
text-align: center;
background: #fff;
cursor: wait;
}
2017-02-21 20:13:19 +02:00
#ini > p {
2017-02-19 11:21:03 +02:00
display: block;
user-select: none;
margin: 32px;
font-size: 4em;
color: #555;
}
2017-02-21 20:13:19 +02:00
#ini > p > span {
animation: ini 1.4s infinite ease-in-out both;
2017-02-19 11:21:03 +02:00
}
2017-02-21 20:13:19 +02:00
#ini > p > span:nth-child(1) {
2017-02-19 11:21:03 +02:00
animation-delay: 0s;
}
2017-02-21 20:13:19 +02:00
#ini > p > span:nth-child(2) {
2017-02-19 11:21:03 +02:00
animation-delay: 0.16s;
}
2017-02-21 20:13:19 +02:00
#ini > p > span:nth-child(3) {
2017-02-19 11:21:03 +02:00
animation-delay: 0.32s;
}
2017-02-21 20:13:19 +02:00
@keyframes ini {
2017-02-19 11:21:03 +02:00
0%, 80%, 100% {
opacity: 1;
}
40% {
opacity: 0;
}
}