-
Notifications
You must be signed in to change notification settings - Fork 0
/
pokeball.css
263 lines (238 loc) · 5.31 KB
/
pokeball.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
body{
background-color: #a3a3a3;
animation: blueish 5s linear infinite;
}
@keyframes blueish {
0%{background-color: #a3a3a3;}
75%{background-color: #a3a3a3;}
90%{
background-color:#ffffff;
}
100%{background-color:#ffffff;}
}
#main{
margin-left: auto;
margin-right: auto;
display: block;
height:300px;
width: 300px;
margin-top: 250px;
}
#pokeball{
display: flex;
justify-content: left;
align-items: center;
height: 300px;
scale: 0.2;
margin-top: -430px;
position: absolute;
animation: falling 5s linear infinite;
}
@keyframes falling {
0%{
margin-top: -430px;
transform:rotate(-180deg);
scale: 0.2;
}
25%{
margin-top: 0;
transform:rotate(220deg);
scale: 0.2;}
35%{
margin-top: -120px;
transform:rotate(120deg);
scale: 0.2;
}
80%{
transform:rotate(20deg);
scale: 0.2;
opacity: 100%;
}
90%{
margin-top: -190px;
transform:rotate(0deg);
scale: 0.2;
opacity: 0%;}
100%{
margin-top: -190px;
transform:rotate(0deg);
scale: 0.2;
opacity: 0%;
}
}
#author{
text-align:center;
font-family: monospace;
margin-top: 50px;
}
#white, #red, #opening, #borderOpening{
width: 300px;
height: 300px;
border-radius: 50%;
position: absolute;
}
#white{
background: linear-gradient(180deg, transparent 50%,white 50%,#c3c3c3);
}
#opening{
background-color: #b8f5ff;
z-index: 22;
transform: rotateX(270deg);
animation: open2 5s linear infinite, blueGlow 5s linear infinite;
}
@keyframes blueGlow{
0%{box-shadow: 1px 1px 200px 30px #4ce6ff;}
70%{box-shadow: 1px 1px 200px 30px #00e7ff;}
100%{box-shadow: 1px 1px 200px 30px #4ce6ff;}
}
#borderOpening{
background-color: #161616;
z-index: 21;
transform: rotateX(267deg);
animation: open 5s linear infinite;
}
#red{
background: linear-gradient(180deg, #720000, #ff0000 50%, transparent 50%);
}
#border{
width: 300px;
border-bottom: 20px solid #161616;
border-radius: 5%;
z-index:20;
}
#circleBlack{
position: absolute;
z-index: 30;
width: 80px;
height: 80px;
background-color: #161616;
border-radius: 50%;
animation: upAndSmall 5s linear infinite;
}
#circleWhite{
position: absolute;
z-index: 31;
width: 50px;
height: 50px;
background-color: white;
border-radius: 50%;
animation: upAndSmall2 5s linear infinite;
}
#circleBorder{
position: absolute;
z-index: 31;
width: 35px;
height: 35px;
border-radius: 50%;
background: linear-gradient(357deg, white, #00000099);
border: 2px solid #707070;
animation: upAndSmall3 5s linear infinite;
}
#shadow{
width: 58px;
height: 14px;
background-color: #818181;
margin-left: auto;
margin-right: auto;
display: block;
text-align: center;
filter: blur(2px);
border-radius: 50%;
margin-top: -124px;
animation: shadowGrow 5s linear infinite;
}
@keyframes shadowGrow {
0%{width: 25px;
height: 10px;background-color: #919191;opacity: 0;}
20%{width: 58px;
height: 10px;background-color: #818181;opacity: 1;}
100%{width: 25px;
height: 10px;background-color: #818181;opacity: 0;}
}
/*opening animation*/
@keyframes open {
0%{
transform: rotateX(267deg);
}70%{
transform: rotateX(267deg);
}100%{
transform: rotateX(200deg);
}
}
@keyframes open2 {
0%{
transform: rotateX(270deg);
}70%{
transform: rotateX(270deg);
}100%{
transform: rotateX(210deg);
}
}
@keyframes upAndSmall2 {
0%{
width: 50px;
height: 50px;
margin-top: 0;
}70%{
width: 50px;
height: 50px;
margin-top: 0;
}71%{
opacity: 1;
}
91%{
opacity: 0.5;
margin-left:150px;
}100%{
width: 23px;
height: 23px;
margin-top: -333px;
opacity: 0;
}
}
@keyframes upAndSmall {
0%{
width: 80px;
height: 80px;
margin-top: 0;
}70%{
width: 80px;
height: 80px;
margin-top: 0;
}
71%{
opacity: 1;
}
91%{
opacity: 0.5;
}
100%{
width: 25px;
height: 25px;
margin-top: -331px;
opacity: 0;
margin-left:150px;
}
}
@keyframes upAndSmall3 {
0%{
width: 35px;
height: 35px;
margin-top: 0;
}70%{
width: 35px;
height: 35px;
margin-top: 0;
}71%{
opacity: 1;
}
91%{
opacity: 0.5;
margin-left:160px;
}100%{
width: 17px;
height: 17px;
margin-top: -339px;
opacity: 0;
}
}