iceshrimp-161sh/src/client/app/init.css

62 lines
759 B
CSS
Raw Normal View History

2017-05-24 01:52:17 +02:00
/**
* Boot screen style
*/
2017-02-19 10:21:03 +01:00
@charset 'utf-8';
html {
font-family: sans-serif;
}
2017-02-21 19:13:19 +01:00
body > noscript {
2017-02-19 10:21:03 +01:00
position: fixed;
2017-02-21 19:13:19 +01:00
z-index: 2;
2017-02-19 10:21:03 +01:00
top: 0;
left: 0;
width: 100%;
height: 100%;
text-align: center;
background: #fff;
}
2017-02-21 19:13:19 +01:00
body > noscript > p {
2017-02-19 10:21:03 +01:00
display: block;
margin: 32px;
font-size: 2em;
color: #555;
}
2017-02-21 19:13:19 +01:00
#ini {
2017-02-19 10:21:03 +01:00
position: fixed;
2017-02-21 19:13:19 +01:00
z-index: 1;
2017-02-19 10:21:03 +01:00
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #fff;
cursor: wait;
}
2018-06-09 03:06:27 +02:00
#ini > svg {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
margin: auto;
width: 64px;
height: 64px;
animation: ini 0.6s infinite linear;
2017-02-19 10:21:03 +01:00
}
2018-04-19 20:41:24 +02:00
html[data-darkmode] #ini {
background: #191b22;
}
2017-02-21 19:13:19 +01:00
@keyframes ini {
2018-06-09 03:06:27 +02:00
from {
transform: rotate(0deg);
2017-02-19 10:21:03 +01:00
}
2018-06-09 03:06:27 +02:00
to {
transform: rotate(360deg);
2017-02-19 10:21:03 +01:00
}
}