rudeshark.net/src/web/app/init.styl

57 lines
715 B
Stylus
Raw Normal View History

2016-12-28 23:49:51 +01:00
@charset 'utf-8'
html
font-family sans-serif
body > noscript > div
position fixed
z-index 32768
top 0
left 0
width 100%
height 100%
text-align center
background #fff
> p
display block
margin 32px
font-size 2em
color #555
#init
position fixed
z-index 16384
top 0
left 0
width 100%
height 100%
text-align center
background #fff
cursor wait
> p
display block
user-select none
margin 32px
font-size 4em
color #555
> span
animation init 1.4s infinite ease-in-out both
&:nth-child(1)
animation-delay 0s
&:nth-child(2)
animation-delay 0.16s
&:nth-child(3)
animation-delay 0.32s
@keyframes init
0%, 80%, 100%
opacity 1
40%
opacity 0