misskey/src/client/app/init.css

67 lines
905 B
CSS
Raw Normal View History

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