summaryrefslogtreecommitdiff
path: root/src/web/app/init.styl
blob: 972997725df2bc53eea9133fbd8aaacd2d0f8e8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
@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