-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathstyle.css
130 lines (113 loc) · 1.9 KB
/
style.css
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
*,
*::after,
*::before {
margin: 0;
padding: 0;
box-sizing: border-box;
}
canvas {
display: block;
}
#loader {
width: 100%;
height: 100vh;
background-image: url("/images/loadingBg.jpg");
background-size: cover;
position: absolute;
left: 0;
top: 0;
}
#loaderProgress {
position: absolute;
width: 100%;
top: 40%;
color: #fff;
font-size: 2rem;
text-align: center;
transition: 1s all;
}
#tip {
position: absolute;
width: 50%;
left: 48%;
top: 35%;
color: #fff;
font-size: 1rem;
text-align: center;
writing-mode: vertical-lr;
display: none;
}
.upTip {
animation: 3s upTip infinite alternate;
}
@keyframes upTip {
0% {
transform: translate(0, 0);
opacity: 0.6;
}
100% {
transform: translate(0, -40px);
opacity: 1;
}
}
#stage > * {
margin: 0 auto;
}
#stage canvas {
width: 100%;
height: 100vh;
}
.audioBox {
display: none;
}
#musicIcon {
z-index: 9;
width: 40px;
height: 40px;
position: absolute;
right: 20px;
top: 20px;
border: none;
background-size: cover;
background-color: transparent;
}
.mplay {
background-image: url("/images/musicon.png");
animation: r360 2s infinite linear;
}
.mpause {
background-image: url("/images/musicoff.png");
}
@keyframes r360 {
0% {
transform: rotate(0);
}
100% {
transform: rotate(360deg);
}
}
@media screen and (orientation: landscape) {
.wrapper {
width: 100vh;
height: 100vw;
transform: rotate(-90deg);
transform-origin: 50vh 50vh;
}
#loader,
#stage {
height: 100%;
}
#stage canvas {
height: 100%;
}
}
#ewm {
position: absolute;
left: 50%;
right: 50%;
top: 25%;
width: 200px;
height: 200px;
transform: translateX(-50%);
display: none;
}