-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
276 lines (276 loc) · 5.45 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
body {
margin: 0px;
padding: 0px;
background-color: rgb(5, 2, 37);
background-size: 100%;
}
.sun {
height: 120px;
width: 120px;
background-color: yellow;
border-radius: 50%;
background-size: cover;
box-shadow: -4px 2px 56px rgb(219, 219, 8);
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.mercury {
height: 30px;
width: 30px;
background-color: rgb(167, 123, 30);
border-radius: 50%;
background-size: 100%;
box-shadow: -4px 2px 56px rgb(192, 147, 22);
position: absolute;
left: 46%;
top: 42%;
transform: translate(-50%, -50%);
animation: orbit2 5s linear infinite;
}
@keyframes orbit2 {
from {
transform: rotate(0deg) translateX(70px) rotate(0deg);
}
to {
transform: rotate(360deg) translateX(70px) rotate(-360deg);
}
}
p {
color: white;
font-family: system-ui;
position: absolute;
left: -62px;
top: -11px;
}
.mercury-outline,
.venus-outline-1,
.earth-outline-1,
.mars-outline-1,
.jupiter-outline-1,
.saturn-outline-1,
.urans-outline-1,
.neptune-outline-1 {
border-radius: 50%;
border: 1px dotted #ddd9;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.mercury-outline {
height: 140px;
width: 140px;
}
.venus {
height: 40px;
width: 40px;
background-color: rgb(245, 185, 108);
border-radius: 50%;
background-size: 100%;
box-shadow: -4px 2px 56px rgb(255, 217, 159);
position: absolute;
left: 40%;
top: 42%;
transform: translate(-50%, -50%);
animation: orbit3 10s linear infinite;
}
@keyframes orbit3 {
from {
transform: rotate(0deg) translateX(100px) rotate(0deg);
}
to {
transform: rotate(360deg) translateX(100px) rotate(-360deg);
}
}
.venus-outline-1 {
height: 200px;
width: 200px;
}
.earth {
height: 50px;
width: 50px;
background-color: darkgreen;
border-radius: 50%;
background-size: 100%;
box-shadow: -4px 2px 56px rgb(16, 180, 16);
position: absolute;
left: 44%;
top: 43%;
transform: translate(-50%, -50%);
animation: orbit4 20s linear infinite;
}
@keyframes orbit4 {
from {
transform: rotate(0deg) translateX(150px) rotate(0deg);
}
to {
transform: rotate(360deg) translateX(150px) rotate(-360deg);
}
}
.earth-outline-1 {
height: 300px;
width: 300px;
}
.earth-circle {
height: 65px;
width: 65px;
border-radius: 40px;
position: relative;
left: -8px;
top: -8px;
border: 1px dotted #fff;
}
.earth-inner {
height: 10px;
width: 10px;
background-color: white;
border-radius: 50%;
position: absolute;
left: 45%;
top: 45%;
transform: translate(-50%, -50%);
animation: orbit5 3s linear infinite;
}
@keyframes orbit5 {
from {
transform: rotate(0deg) translateX(33px) rotate(0deg);
}
to {
transform: rotate(360deg) translateX(33px) rotate(-360deg);
}
}
.mars {
height: 40px;
width: 40px;
background-color: rgb(170, 14, 14);
border-radius: 50%;
background-size: 100%;
box-shadow: -4px 2px 56px #ff0000;
position: absolute;
left: 46.5%;
top: 46.5%;
transform: translate(-50%, -50%);
animation: orbit6 25s linear infinite;
}
@keyframes orbit6 {
from {
transform: rotate(0deg) translateX(185px) rotate(0deg);
}
to {
transform: rotate(360deg) translateX(185px) rotate(-360deg);
}
}
.mars-outline-1 {
height: 370px;
width: 370px;
}
.jupiter {
height: 40px;
width: 40px;
background-color: rgb(173, 148, 148);
border-radius: 50%;
background-size: 100%;
box-shadow: -4px 2px 56px #4c8694;
position: absolute;
left: 45%;
top: 45%;
transform: translate(-50%, -50%);
animation: orbit7 30s linear infinite;
}
@keyframes orbit7 {
from {
transform: rotate(0deg) translateX(217px) rotate(0deg);
}
to {
transform: rotate(360deg) translateX(217px) rotate(-360deg);
}
}
.jupiter-outline-1 {
height: 430px;
width: 430px;
}
.saturn {
height: 60px;
width: 60px;
background-color: rgb(185, 49, 185);
border-radius: 50%;
background-size: 100%;
box-shadow: -4px 2px 56px #d12ac3;
position: absolute;
left: 45%;
top: 45%;
transform: translate(-50%, -50%);
animation: orbit9 40s linear infinite;
}
@keyframes orbit9 {
from {
transform: rotate(0deg) translateX(250px) rotate(0deg);
}
to {
transform: rotate(360deg) translateX(250px) rotate(-360deg);
}
}
.saturn-outline-1 {
height: 500px;
width: 500px;
}
.urans {
height: 50px;
width: 50px;
background-color: rgb(0, 255, 221);
border-radius: 50%;
box-shadow: -4px 2px 56px #8afff9;
background-size: 100%;
position: absolute;
left: 38%;
top: 48%;
transform: translate(-50%, -50%);
animation: orbit10 50s linear infinite;
}
@keyframes orbit10 {
from {
transform: rotate(0deg) translateX(280px) rotate(0deg);
}
to {
transform: rotate(360deg) translateX(280px) rotate(-360deg);
}
}
.urans-outline-1 {
height: 560px;
width: 560px;
}
.neptune {
height: 40px;
width: 40px;
background-color: #3b4df3;
border-radius: 50%;
background-size: 100%;
box-shadow: -4px 2px 56px #3b4df3;
position: absolute;
left: 48%;
top: 48%;
transform: translate(-50%, -50%);
animation: orbit11 60s linear infinite;
}
@keyframes orbit11 {
from {
transform: rotate(0deg) translateX(310px) rotate(0deg);
}
to {
transform: rotate(360deg) translateX(310px) rotate(-360deg);
}
}
.neptune-outline-1 {
height: 620px;
width: 620px;
}
.earth,
.moon {
position: absolute;
border-style: solid;
border-color: white transparent transparent transparent;
border-width: 0.1em 0.1em 0 0;
border-radius: 50%;
}