forked from CreatechStudio/maintenance-page
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
executable file
·350 lines (317 loc) · 7.77 KB
/
main.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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
body,
html {
padding: 0;
margin: 0;
font-family: 'Quicksand', sans-serif;
font-weight: 400;
overflow: hidden;
}
.writing {
width: 320px;
height: 200px;
background-color: #3f3f3f;
border: 1px solid #bbbbbb;
border-radius: 6px 6px 4px 4px;
position: relative;
}
.writing .topbar{
position: absolute;
width: 100%;
height: 12px;
background-color: #f1f1f1;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
}
.writing .topbar div{
height: 6px;
width: 6px;
border-radius: 50%;
margin: 3px;
float: left;
}
.writing .topbar div.green{
background-color: #60d060;
}
.writing .topbar div.red{
background-color: red;
}
.writing .topbar div.yellow{
background-color: #e6c015;
}
.writing .code {
padding: 15px;
}
.writing .code ul {
list-style: none;
margin: 0;
padding: 0;
}
.writing .code ul li {
background-color: #9e9e9e;
width: 0;
height: 7px;
border-radius: 6px;
margin: 10px 0;
}
.container {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
height: 100vh;
width: 100%;
-webkit-transition: -webkit-transform .5s;
transition: -webkit-transform .5s;
transition: transform .5s;
transition: transform .5s, -webkit-transform .5s;
}
.stack-container {
position: relative;
width: 420px;
height: 210px;
-webkit-transition: width 1s, height 1s;
transition: width 1s, height 1s;
}
.pokeup {
-webkit-transition: all .3s ease;
transition: all .3s ease;
}
.pokeup:hover {
-webkit-transform: translateY(-10px);
transform: translateY(-10px);
-webkit-transition: .3s ease;
transition: .3s ease;
}
.error {
background-color: #f5f5f500;font-family: 'Montserrat', sans-serif;
display: flex;
justify-content: center; /* 将内容水平居中 */
align-items: center; /* 将内容垂直居中 */
height: 100vh; /* 设置容器高度为视口高度,以实现垂直居中 */
}
.d-flex {
display:flex;
}
.align-center {
align-items: center;
}
.container {
align-items: center;
max-width: 90%;
}
.col-L {
padding:2em;
}
.col-R {
max-width: 50%;
width:50%
}
.color-white{fill:#FFFFFF;}
.logo {
height: 40px;
width: 40px;
font-size: .5em;
background-color: #ffcb1f;
border-radius: 50%;
padding: 1em;
margin: 1em;
}
h1 {
margin: 0;
font-size: 5vmax;
font-size: 36px;
font-size: 7vmin;
color:rgb(0, 0, 0);
width: 130%;
}
.st0{fill:#FFCB1E;}
.st1{fill:#FFB8B8;}
.st2,.st4,.st7 {
stroke:#3F0E8C;
stroke-miterlimit:10;
}
.st2{fill:none;}
.st3{fill:#FFFFFF;stroke:#1D1D1B;stroke-width:0.9847;stroke-miterlimit:10;}
.st4{
fill:#00D292;
}
.st5{fill:#00D292;}
.st6{fill:#00CCCB;}
.st7{fill:#00CCCB;}
.st8{fill:none;stroke:#1D1D1B;stroke-width:0.9847;stroke-miterlimit:10;}
.st4,.st5,.st6{
-webkit-animation: downMotion 8s ease-in-out infinite;
-moz-animation: downMotion 8s ease-in-out infinite;
animation: downMotion 8s ease-in-out infinite;
}
.st0{
-webkit-animation: upMotion 10s ease-in-out infinite;
-moz-animation: upMotion 10s ease-in-out infinite;
animation: upMotion 10s ease-in-out infinite;
}
.st7,.run{
-webkit-animation: upMotion 6s ease-in-out infinite;
-moz-animation: upMotion 6s ease-in-out infinite;
animation: upMotion 6s ease-in-out infinite;
}
.rotate {
transform-origin: 116px 88px;
-webkit-animation: 4s rotate infinite linear;
animation: 4s rotate infinite linear;
}
@keyframes downMotion {
0% {transform: translate(0, -15px);}
50% {transform: translate(0, 0); }
100% {transform: translate(0, -15px);}
}
@-webkit-keyframes downMotion {
0% {transform: translate(0, -15px);}
50% {transform: translate(0, 0); }
100% {transform: translate(0, -15px);}
}
@-moz-keyframes downMotion {
0% {transform: translate(0, -15px);}
50% {transform: translate(0, 0); }
100% {transform: translate(0, -15px);}
}
@keyframes upMotion {
0% {transform: translate(0, 15px);}
50% {transform: translate(0, 0); }
100% {transform: translate(0, 15px);}
}
@-webkit-keyframes upMotion {
0% {transform: translate(0, 15px);}
50% {transform: translate(0, 0); }
100% {transform: translate(0, 15px);}
}
@-moz-keyframes upMotion {
0% {transform: translate(0, 15px);}
50% {transform: translate(0, 0); }
100% {transform: translate(0, 15px);}
}
@keyframes rotate {100% {transform: rotate(360deg); } }
@-webkit-keyframes rotate {100% {-webkit-transform: rotate(360deg); } }
@-moz-keyframes rotate {100% {-webkit-transform: rotate(360deg); } }
@-o-keyframes rotate {100% {-webkit-transform: rotate(360deg); } }
@media only screen and (min-width: 992px) {
.container {
justify-content: center;
height: calc(100vh - 16px);
display: flex;
flex-wrap: wrap;
}
.col-L {
width:40%;
margin-right:10%;
}
}
@media only screen and (max-width: 991px) {
.flex-column {
flex-direction: column;
}
}
.perspec {
-webkit-perspective: 1000px;
perspective: 1000px;
}
.writeLine{
-webkit-animation: writeLine .4s linear forwards;
animation: writeLine .4s linear forwards;
}
.explode{
-webkit-animation: explode .5s ease-in-out forwards;
animation: explode .5s ease-in-out forwards;
}
.card {
-webkit-animation: tiltcard .5s ease-in-out 1s forwards;
animation: tiltcard .5s ease-in-out 1s forwards;
position: absolute;
}
@-webkit-keyframes tiltcard {
0% {
-webkit-transform: rotateY(0deg);
transform: rotateY(0deg);
}
100% {
-webkit-transform: rotateY(-30deg);
transform: rotateY(-30deg);
}
}
@keyframes tiltcard {
0% {
-webkit-transform: rotateY(0deg);
transform: rotateY(0deg);
}
100% {
-webkit-transform: rotateY(-30deg);
transform: rotateY(-30deg);
}
}
@-webkit-keyframes explode {
0% {
-webkit-transform: translate(0, 0) scale(1);
transform: translate(0, 0) scale(1);
}
100% {
-webkit-transform: translate(var(--spreaddist), var(--vertdist)) scale(var(--scaledist));
transform: translate(var(--spreaddist), var(--vertdist)) scale(var(--scaledist));
}
}
@keyframes explode {
0% {
-webkit-transform: translate(0, 0) scale(1);
transform: translate(0, 0) scale(1);
}
100% {
-webkit-transform: translate(var(--spreaddist), var(--vertdist)) scale(var(--scaledist));
transform: translate(var(--spreaddist), var(--vertdist)) scale(var(--scaledist));
}
}
@-webkit-keyframes writeLine {
0% {
width:0;
}
100% {
width: var(--linelength);
}
}
@keyframes writeLine {
0% {
width:0;
}
100% {
width: var(--linelength);
}
}
@media screen and (max-width: 1000px) {
.container {
-webkit-transform: scale(.85);
transform: scale(.85);
}
}
@media screen and (max-width: 850px) {
.container {
-webkit-transform: scale(.75);
transform: scale(.75);
}
}
@media screen and (max-width: 775px) {
.container {
-ms-flex-wrap: wrap-reverse;
flex-wrap: wrap-reverse;
-webkit-box-align: inherit;
-ms-flex-align: inherit;
align-items: inherit;
}
}
@media screen and (max-width: 370px) {
.container {
-webkit-transform: scale(.6);
transform: scale(.6);
}
}