-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCSS
More file actions
294 lines (273 loc) · 5.65 KB
/
CSS
File metadata and controls
294 lines (273 loc) · 5.65 KB
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
body {
padding: 0;
margin: 0;
}
.container1 {
height: 1000px;
width: 2000px;
border: 1px black solid;
}
.container2 {
height: 1000px;
width: 2000px;
position: relative;
animation: transition 4s infinite alternate;
}
@keyframes transition {
0% {
background: linear-gradient(
#0d0116,
#0e0936,
#3a2fcf,
#377eda,
#f5f3f0
);
}
100% {
background: linear-gradient(rgba(237, 100, 8, 0.932), #ef8e05, #fab12b);
}
}
.stars1 {
height: 0.2em;
width: 0.2em;
background-color: #ffffff;
position: absolute;
top: 10em;
left: 15em;
border-radius: 50%;
box-shadow: 3em 9.3em #ffffff, -1.9em 12.2em #ffffff, 1.89em 11.21em #ffffff,
1cqmax 16.2em #ffffff, -5em 6.2em #ffffff, 4em 15.3em #ffffff,
-4em 15.3em #ffffff, -1.8em 11.2em #ffffff, 10.2em 18.3em #ffffff,
5em 15.3em #ffffff;
animation: twinkle 3.5s infinite forwards;
}
@keyframes twinkle {
0% {
opacity: 0;
}
50% {
opacity: 1;
}
100% {
opacity: 0;
}
}
.stars2 {
height: 0.2em;
width: 0.2em;
background-color: #ffffff;
position: absolute;
top: 2em;
left: 20em;
border-radius: 50%;
box-shadow: 3em 9.3em #ffffff, -1.8em 11.2em #ffffff, 11.8em 11.2em #ffffff,
2.5em 16.2em #ffffff, -5em 6.2em #ffffff, 4em 15.3em #ffffff,
-14em 15.3em #ffffff, -11.8em 11.2em #ffffff, 1.2em 18.3em #ffffff,
5em 5.3em #ffffff;
animation: twinkle 3.5s infinite forwards;
}
@keyframes twinkle {
0% {
opacity: 0;
}
50% {
opacity: 1;
}
100% {
opacity: 0;
}
}
.stars3 {
height: 0.2em;
width: 0.2em;
background-color: #ffffff;
position: absolute;
top: 2em;
left: 28em;
border-radius: 50%;
box-shadow: 6em 9.35em #ffffff, -15.8em 11.2em #ffffff, 2.9em 11.2em #ffffff,
2.5em 16.2em #ffffff, -5em 6.2em #ffffff, 15em 15.3em #ffffff,
-41em 15.3em #ffffff, -12.8em 11.2em #ffffff, 1.4em 8.3em #ffffff,
6em 5.3em #ffffff;
animation: twinkle s infinite forwards;
}
@keyframes twinkle {
0% {
opacity: 0;
}
50% {
opacity: 1;
}
100% {
opacity: 0;
}
}
.stars4 {
height: 0.2em;
width: 0.2em;
background-color: #ffffff;
position: absolute;
top: 1em;
left: 35em;
border-radius: 50%;
box-shadow: 12em 10.3em #ffffff, -1.8em 16.2em #ffffff,
11.8em 11.12em #ffffff, 22.5em 16.2em #ffffff, -17em 16.2em #ffffff,
14em 15.3em #ffffff, -4em 15.3em #ffffff, -11.8em 11.2em #ffffff,
11.2em 28.3em #ffffff, 5em 5.3em #ffffff;
animation: twinkle 5s infinite forwards;
}
@keyframes twinkle {
0% {
opacity: 0;
}
50% {
opacity: 1;
}
100% {
opacity: 0;
}
}
.stars5 {
height: 0.2em;
width: 0.2em;
background-color: #ffffff;
position: absolute;
top: 5em;
left: 40em;
border-radius: 50%;
box-shadow: 3em 9.3em #ffffff, -1.8em 11.2em #ffffff, 1.8em 11.2em #ffffff,
2.5em 16.2em #ffffff, -5em 6.2em #ffffff, 4em 15.3em #ffffff,
-4em 15.3em #ffffff, -1.8em 11.2em #ffffff, 1.2em 8.3em #ffffff,
5em 5.3em #ffffff;
animation: twinkle 5s infinite forwards;
}
@keyframes twinkle {
0% {
opacity: 0;
}
50% {
opacity: 1;
}
100% {
opacity: 0;
}
}
.container3 {
height: 1000px;
width: 2000px;
position: absolute;
top: 0px;
left: 0px;
overflow: hidden;
}
.tree {
height: 818px;
width: 768px;
background-size: cover;
background-image: url(t3.png);
top: 70px;
left: -20%;
bottom: 2px;
position: absolute;
}
.road {
height: 250px;
width: 2375px;
background-image: url(road.jpg);
top: 100px;
left: 10px;
position: absolute;
overflow: hidden;
}
.grass {
height: 171px;
width: 2375px;
background-image: url(g2.png);
top: 600px;
left: 20px;
position: absolute;
}
.man {
background-image: url(hehe.png);
top: 50%;
height: 233px;
width: 240px;
animation: walk 1s steps(6) infinite, forward 4s linear infinite;
}
@keyframes walk {
0% {
background-position: 0px;
}
100% {
background-position: 1400px;
}
}
@keyframes forward {
0% {
transform: translateX(0px);
}
100% {
transform: translateX(1200px);
}
}
.man {
background-image: url(hehe.png);
background-position: top 500px;
height: 233px;
width: 240px;
animation: walk 1s steps(6) infinite, forward 4s linear infinite;
}
@keyframes walk {
0% {
background-position: 0px;
}
100% {
background-position: 1400px;
}
}
@keyframes forward {
0% {
transform: translateX(0px);
}
100% {
transform: translateX(2000px);
}
}
.container4 {
height: 150px;
width: 150px;
position: absolute;
top: 100px;
left: 1500px;
border-radius: 50%;
animation: moon 4s infinite alternate;
}
@keyframes moon {
0% {
background: #d9c2b5;
box-shadow: 0 20px 10px #d9c2b5, 0 0 40px 20px #d9c2b5,
0 0 60px 30px #d9c2b5;
}
100% {
background: #ef8e05;
box-shadow: 0 0 20px 10px #fab12b, 0 0 40px 20px #fab12b,
0 0 60px 30px #ecbf6b;
}
}
.container5 {
height: 750px;
width: 830px;
top: 0px;
left: 1160px;
position: absolute;
overflow: hidden;
}
.tree2 {
height: 811px;
width: 1250px;
background-size: cover;
background-image: url(t4.png);
bottom: 2px;
position: absolute;
overflow-x: hidden;
}