-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
417 lines (354 loc) · 9.33 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
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
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
* {
zoom: 95%;
}
/* Galaxy Background */
.bg {
background: url(https://i.ibb.co/87GbbFP/2799006.jpg) no-repeat;
background-size: cover;
height: 100%;
width: 100%;
position: fixed;
top: 0;
left: 0;
z-index: -3;
}
.bg:before {
content: "";
width: 100%;
height: 100%;
background: #000;
position: fixed;
z-index: -1;
top: 0;
left: 0;
opacity: 0.3;
}
@keyframes sf-fly-by-1 {
from {
transform: translateZ(-600px);
opacity: 0.5;
}
to {
transform: translateZ(0);
opacity: 0.5;
}
}
@keyframes sf-fly-by-2 {
from {
transform: translateZ(-1200px);
opacity: 0.5;
}
to {
transform: translateZ(-600px);
opacity: 0.5;
}
}
@keyframes sf-fly-by-3 {
from {
transform: translateZ(-1800px);
opacity: 0.5;
}
to {
transform: translateZ(-1200px);
opacity: 0.5;
}
}
.star-field {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
perspective: 600px;
-webkit-perspective: 600px;
z-index: -1;
}
.star-field .layer {
box-shadow: -411px -476px #cccccc, 777px -407px #d4d4d4, -387px -477px #fcfcfc,
-91px -235px #d4d4d4, 491px -460px #f7f7f7, 892px -128px #f7f7f7,
758px -277px #ededed, 596px 378px #cccccc, 647px 423px whitesmoke,
183px 389px #c7c7c7, 524px -237px #f0f0f0, 679px -535px #e3e3e3,
158px 399px #ededed, 157px 249px #ededed, 81px -450px #ebebeb,
719px -360px #c2c2c2, -499px 473px #e8e8e8, -158px -349px #d4d4d4,
870px -134px #cfcfcf, 446px 404px #c2c2c2, 440px 490px #d4d4d4,
414px 507px #e6e6e6, -12px 246px #fcfcfc, -384px 369px #e3e3e3,
641px -413px #fcfcfc, 822px 516px #dbdbdb, 449px 132px #c2c2c2,
727px 146px #f7f7f7, -315px -488px #e6e6e6, 952px -70px #e3e3e3,
-869px -29px #dbdbdb, 502px 80px #dedede, 764px 342px #e0e0e0,
-150px -380px #dbdbdb, 654px -426px #e3e3e3, -325px -263px #c2c2c2,
755px -447px #c7c7c7, 729px -177px #c2c2c2, -682px -391px #e6e6e6,
554px -176px #ededed, -85px -428px #d9d9d9, 714px 55px #e8e8e8,
359px -285px #cfcfcf, -362px -508px #dedede, 468px -265px #fcfcfc,
74px -500px #c7c7c7, -514px 383px #dbdbdb, 730px -92px #cfcfcf,
-112px 287px #c9c9c9, -853px 79px #d6d6d6, 828px 475px #d6d6d6,
-681px 13px #fafafa, -176px 209px #f0f0f0, 758px 457px #fafafa,
-383px -454px #ededed, 813px 179px #d1d1d1, 608px 98px whitesmoke,
-860px -65px #c4c4c4, -572px 272px #f7f7f7, 459px 533px #fcfcfc,
624px -481px #e6e6e6, 790px 477px #dedede, 731px -403px #ededed,
70px -534px #cccccc, -23px 510px #cfcfcf, -652px -237px whitesmoke,
-690px 367px #d1d1d1, 810px 536px #d1d1d1, 774px 293px #c9c9c9,
-362px 97px #c2c2c2, 563px 47px #dedede, 313px 475px #e0e0e0,
839px -491px #e3e3e3, -217px 377px #d4d4d4, -581px 239px #c2c2c2,
-857px 72px #cccccc, -23px 340px #dedede, -837px 246px white,
170px -502px #cfcfcf, 822px -443px #e0e0e0, 795px 497px #e0e0e0,
-814px -337px #cfcfcf, 206px -339px #f2f2f2, -779px 108px #e6e6e6,
808px 2px #d4d4d4, 665px 41px #d4d4d4, -564px 64px #cccccc,
-380px 74px #cfcfcf, -369px -60px #f7f7f7, 47px -495px #e3e3e3,
-383px 368px #f7f7f7, 419px 288px #d1d1d1, -598px -50px #c2c2c2,
-833px 187px #c4c4c4, 378px 325px whitesmoke, -703px 375px #d6d6d6,
392px 520px #d9d9d9, -492px -60px #c4c4c4, 759px 288px #ebebeb,
98px -412px #c4c4c4, -911px -277px #c9c9c9;
transform-style: preserve-3d;
position: absolute;
top: 50%;
left: 50%;
height: 4px;
width: 4px;
border-radius: 2px;
}
.star-field .layer:nth-child(1) {
animation: sf-fly-by-1 5s linear infinite;
}
.star-field .layer:nth-child(2) {
animation: sf-fly-by-2 5s linear infinite;
}
.star-field .layer:nth-child(3) {
animation: sf-fly-by-3 5s linear infinite;
}
:root {
--sun-color: linear-gradient(135deg, #fff57b, #fa8607);
--mercure-color: linear-gradient(135deg, #cecfd1, #60686b);
--venus-color: linear-gradient(135deg, #ffa973, #a8683f);
--terre-color: linear-gradient(135deg, #0059ff, lightgreen);
--mars-color: linear-gradient(135deg, #e95020, #ff7a44);
--jupiter-color: linear-gradient(135deg, #9f4523, #f7ad6f);
--saturne-color: linear-gradient(135deg, #fff4c4, #f7be6d);
--uranus-color: linear-gradient(135deg, #3dc5e3, #8ce7f5);
--neptune-color: linear-gradient(135deg, #458ff2, #003184);
--pluton-color: linear-gradient(135deg, #2a2e47, #9996ab);
--star-color: linear-gradient(135deg, #ffffff, #858585);
--planet-box-shadow: 0 0 50px 5px #ffffff;
}
/* Fin Galaxy Background */
.sun {
width: 150px;
height: 150px;
background: var(--sun-color);
box-shadow: 0 0 100px 20px #fa8607;
border-radius: 50%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.planet {
border-radius: 50%;
position: absolute;
top: 50%;
left: 50%;
transform-origin: center;
}
/* Mercure */
.mercure {
width: 15px;
height: 15px;
background: var(--mercure-color);
box-shadow: var(--planet-box-shadow);
animation: orbitmercure 7s linear infinite;
}
@keyframes orbitmercure {
0% {
transform: translate(-50%, -50%) rotate(0deg) translateY(-100px);
}
100% {
transform: translate(-50%, -50%) rotate(1turn) translateY(-100px);
}
}
/* Fin Mercure */
/* Venus */
.venus {
width: 20px;
height: 20px;
background: var(--venus-color);
box-shadow: var(--planet-box-shadow);
animation: orbitvenus 8.5s linear infinite;
}
@keyframes orbitvenus {
0% {
transform: translate(-50%, -50%) rotate(0deg) translateY(-155px);
}
100% {
transform: translate(-50%, -50%) rotate(1turn) translateY(-155px);
}
}
/* Fin Venus */
/* Terre */
.terre {
width: 25px;
height: 25px;
background: var(--terre-color);
box-shadow: var(--planet-box-shadow);
animation: orbitterre 12s linear infinite;
}
@keyframes orbitterre {
0% {
transform: translate(-50%, -50%) rotate(0deg) translateY(-210px);
}
100% {
transform: translate(-50%, -50%) rotate(1turn) translateY(-210px);
}
}
/* Fin Terre */
/* Mars */
.mars {
width: 17px;
height: 17px;
background: var(--mars-color);
box-shadow: var(--planet-box-shadow);
animation: orbitmars 14s linear infinite;
}
@keyframes orbitmars {
0% {
transform: translate(-50%, -50%) rotate(0deg) translateY(-265px);
}
100% {
transform: translate(-50%, -50%) rotate(1turn) translateY(-265px);
}
}
/* Fin Mars */
/* Star Mars 1 */
.starmars1 {
width: 4px;
height: 4px;
background: var(--star-color);
box-shadow: var(--planet-box-shadow);
animation: orbitstarmars1 2s linear infinite;
}
@keyframes orbitstarmars1 {
0% {
transform: translate(-50%, -50%) rotate(0deg) translateY(-25px);
}
100% {
transform: translate(-50%, -50%) rotate(1turn) translateY(-25px);
}
}
/* Fin Star Mars 1 */
/* Star Mars 2 */
.starmars2 {
width: 4px;
height: 4px;
background: var(--star-color);
box-shadow: var(--planet-box-shadow);
animation: orbitstarmars2 2.5s linear infinite;
}
@keyframes orbitstarmars2 {
0% {
transform: translate(-50%, -50%) rotate(0deg) translateY(-35px);
}
100% {
transform: translate(-50%, -50%) rotate(1turn) translateY(-35px);
}
}
/* Fin Star Mars 2 */
/* Jupiter */
.jupiter {
width: 55px;
height: 55px;
background: var(--jupiter-color);
box-shadow: var(--planet-box-shadow);
animation: orbitjupiter 18s linear infinite;
}
@keyframes orbitjupiter {
0% {
transform: translate(-50%, -50%) rotate(0deg) translateY(-320px);
}
100% {
transform: translate(-50%, -50%) rotate(1turn) translateY(-320px);
}
}
/* Fin Jupiter */
/* Saturne */
.saturne {
width: 50px;
height: 50px;
background: var(--saturne-color);
box-shadow: var(--planet-box-shadow);
animation: orbitsaturne 22s linear infinite;
}
@keyframes orbitsaturne {
0% {
transform: translate(-50%, -50%) rotate(0deg) translateY(-375px);
}
100% {
transform: translate(-50%, -50%) rotate(1turn) translateY(-375px);
}
}
/* Fin Saturne */
/* Star Saturne */
.starsaturne {
width: 10px;
height: 10px;
background: var(--star-color);
box-shadow: var(--planet-box-shadow);
animation: orbitstarsaturne 3s linear infinite;
}
@keyframes orbitstarsaturne {
0% {
transform: translate(-50%, -50%) rotate(0deg) translateY(-45px);
}
100% {
transform: translate(-50%, -50%) rotate(1turn) translateY(-45px);
}
}
/* Fin Star */
/* Uranus */
.uranus {
width: 35px;
height: 35px;
background: var(--uranus-color);
box-shadow: var(--planet-box-shadow);
animation: orbituranus 29s linear infinite;
}
@keyframes orbituranus {
0% {
transform: translate(-50%, -50%) rotate(0deg) translateY(-430px);
}
100% {
transform: translate(-50%, -50%) rotate(1turn) translateY(-430px);
}
}
/* Fin Uranus */
/* Neptune */
.neptune {
width: 30px;
height: 30px;
background: var(--neptune-color);
box-shadow: var(--planet-box-shadow);
animation: orbitneptune 15.5s linear infinite;
}
@keyframes orbitneptune {
0% {
transform: translate(-50%, -50%) rotate(0deg) translateY(-485px);
}
100% {
transform: translate(-50%, -50%) rotate(1turn) translateY(-485px);
}
}
/* Fin Neptune */
/* Pluton */
.pluton {
width: 35px;
height: 35px;
background: var(--pluton-color);
box-shadow: var(--planet-box-shadow);
animation: orbitpluton 19s linear infinite;
}
@keyframes orbitpluton {
0% {
transform: translate(-50%, -50%) rotate(0deg) translateY(-520px);
}
100% {
transform: translate(-50%, -50%) rotate(1turn) translateY(-520px);
}
}
/* Fin Pluton */