-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
167 lines (139 loc) · 4.04 KB
/
styles.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
body {
background-color: black;
background-image: radial-gradient(white, rgba(255, 255, 255, 0.2) 2px, transparent 40px), radial-gradient(white, rgba(255, 255, 255, 0.15) 1px, transparent 30px), radial-gradient(white, rgba(255, 255, 255, 0.1) 2px, transparent 40px), radial-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1) 2px, transparent 30px);
background-position: 0 0, 40px 60px, 130px 270px, 70px 100px;
background-size: 550px 550px, 350px 350px, 250px 250px, 150px 150px; }
#sun {
background-color: #ffea54;
border-radius: 50px;
height: 80px;
left: calc(50% - 40px);
position: absolute;
top: calc(50% - 40px);
width: 80px; }
#mercury {
border-radius: 3px;
height: 6px;
width: 6px;
animation: mercury-orbit 5s infinite linear;
background-color: #ffac2e;
left: calc(50% - 3px);
position: absolute;
top: calc(50% - 3px); }
#venus {
border-radius: 4px;
height: 8px;
width: 8px;
animation: venus-orbit 7s infinite linear;
background-color: #46ffb8;
left: calc(50% - 4px);
position: absolute;
top: calc(50% - 4px); }
#earth {
border-radius: 4px;
height: 8px;
width: 8px;
animation: earth-orbit 8s infinite linear;
background-color: #5ca8ff;
left: calc(50% - 4px);
position: absolute;
top: calc(50% - 4px); }
#mars {
border-radius: 3px;
height: 6px;
width: 6px;
animation: mars-orbit 12s infinite linear;
background-color: #ff2a37;
left: calc(50% - 3px);
position: absolute;
top: calc(50% - 3px); }
#jupiter {
border-radius: 20px;
height: 40px;
width: 40px;
animation: jupiter-orbit 18s infinite linear;
background-color: #655123;
left: calc(50% - 20px);
position: absolute;
top: calc(50% - 20px); }
#saturn {
border-radius: 18px;
height: 36px;
width: 36px;
animation: saturn-orbit 19s infinite linear;
background-color: #9f8037;
left: calc(50% - 18px);
position: absolute;
top: calc(50% - 18px); }
#uranus {
border-radius: 10px;
height: 20px;
width: 20px;
animation: uranus-orbit 23s infinite linear;
background-color: #786b7a;
left: calc(50% - 10px);
position: absolute;
top: calc(50% - 10px); }
#neptune {
border-radius: 4px;
height: 8px;
width: 8px;
animation: neptune-orbit 25s infinite linear;
background-color: #2f9a9f;
left: calc(50% - 4px);
position: absolute;
top: calc(50% - 4px); }
#pluto {
border-radius: 3px;
height: 6px;
width: 6px;
animation: pluto-orbit 30s infinite linear;
background-color: #606060;
left: calc(50% - 3px);
position: absolute;
top: calc(50% - 3px); }
@keyframes mercury-orbit {
from {
transform: rotate(0deg) translateX(60px) rotate(0deg); }
to {
transform: rotate(360deg) translateX(60px) rotate(-360deg); } }
@keyframes venus-orbit {
from {
transform: rotate(0deg) translateX(70px) rotate(0deg); }
to {
transform: rotate(360deg) translateX(70px) rotate(-360deg); } }
@keyframes earth-orbit {
from {
transform: rotate(0deg) translateX(90px) rotate(0deg); }
to {
transform: rotate(360deg) translateX(90px) rotate(-360deg); } }
@keyframes mars-orbit {
from {
transform: rotate(0deg) translateX(110px) rotate(0deg); }
to {
transform: rotate(360deg) translateX(110px) rotate(-360deg); } }
@keyframes jupiter-orbit {
from {
transform: rotate(0deg) translateX(170px) rotate(0deg); }
to {
transform: rotate(360deg) translateX(170px) rotate(-360deg); } }
@keyframes saturn-orbit {
from {
transform: rotate(0deg) translateX(220px) rotate(0deg); }
to {
transform: rotate(360deg) translateX(220px) rotate(-360deg); } }
@keyframes uranus-orbit {
from {
transform: rotate(0deg) translateX(260px) rotate(0deg); }
to {
transform: rotate(360deg) translateX(260px) rotate(-360deg); } }
@keyframes neptune-orbit {
from {
transform: rotate(0deg) translateX(290px) rotate(0deg); }
to {
transform: rotate(360deg) translateX(290px) rotate(-360deg); } }
@keyframes pluto-orbit {
from {
transform: rotate(0deg) translateX(310px) rotate(0deg); }
to {
transform: rotate(360deg) translateX(310px) rotate(-360deg); } }