sharkey/src/web/app/init.css

63 lines
875 B
CSS
Raw Normal View History

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