-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
139 lines (135 loc) · 2.57 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
h1, p {
font-family: sans-serif;
text-align: center;
}
.container {
position: relative;
display: flex;
}
.container > div {
width: 30%;
display: flex;
flex-direction: column;
align-items: center;
}
.container #refresh {
position: relative;
padding: 20px;
background-color: red;
color: black;
font-size: 16px;
border-radius: 50px;
border: 2px solid black;
outline: none;
margin-bottom: 20px;
}
.container #refresh::before {
content: "";
position: absolute;
bottom: 0;
left: 0;
background-color: white;
border-bottom-left-radius: 50px;
border-bottom-right-radius: 50px;
height: 50%;
width: 100%;
}
.container #refresh::after {
content: "";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 7px;
height: 7px;
border: 2px solid black;
border-radius: 50%;
}
.container #refresh span {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-weight: bold;
}
.container #text-placeholder {
display: flex;
flex-direction: column;
align-items: center;
background-color: white;
padding: 20px 30px;
line-height: 20px;
letter-spacing: 1px;
font-family: sans-serif;
border-radius: 5px;
border: solid 10px black;
}
.container #text-placeholder > div {
font-weight: bold;
}
.container #text-placeholder > div span {
font-weight: normal;
}
.container .loader {
position: absolute;
top: 27%;
left: 50%;
transform: translate(-50%, -50%);
}
.container:not(.is-loading) .loader {
display: none;
}
.container .poke-list {
list-style-type: none;
width: 32.3%;
height: 500px;
overflow: scroll;
display: flex;
flex-wrap: wrap;
}
.container .poke-list .poke-badge {
width: 55px;
height: 55px;
border-radius: 50%;
background-color: lightgray;
background-position: center;
background-size: contain;
margin-bottom: 10px;
margin-right: 10px;
}
.lds-ring {
display: inline-block;
position: relative;
width: 80px;
height: 80px;
}
.lds-ring div {
box-sizing: border-box;
display: block;
position: absolute;
width: 64px;
height: 64px;
margin: 8px;
border: 8px solid #000;
border-radius: 50%;
animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
border-color: #000 transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
animation-delay: -0.15s;
}
@keyframes lds-ring {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
/*# sourceMappingURL=style.css.map */