-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
executable file
·264 lines (221 loc) · 3.98 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
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
@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@1,400;1,700&display=swap');
* {
font-family: 'Chakra Petch', sans-serif;
font-weight: 400;
box-sizing: border-box;
}
html {
height: 100vh;
width: 100vw;
min-width: 360px;
}
body {
background-color: rgb(23, 26, 33);
color: rgb(199, 213, 224);
height: 100%;
width: 100%;
margin: 0;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.actionButton {
display: flex;
}
#finalResults {
margin-top: 36px;
}
h1 , #finalResults {
font-weight: bold;
font-size: 3rem;
text-align: center;
}
p , li {
font-size: 1.4em;
list-style: none;
margin: 0;
}
a:link, a:visited {
text-decoration: none;
font-weight: 900;
color: rgb(23, 26, 33);
}
ul {
padding: 0;
width: inherit;
}
li {
display: flex;
font-size: 0.9em;
justify-content: space-around
}
span {
font-weight: 900;
}
main div {
display: flex;
justify-content: space-between;
}
main div p {
text-align:start;
margin: 6px 0;
padding: 2px 16px;
}
main p {
text-align: center;
margin: 12px 0px;
}
button {
font-weight: 900;
border-radius: 12px;
margin: 0 12px;
padding: 6px 12px;
font-size: 1.4em;
background-color: rgb(199, 213, 224);
}
button:hover {
transform: scale(1.15);
}
main {
flex-grow: 1;
height: fit-content;
display: flex;
flex-direction: column;
justify-content: flex-start;
}
header {
background-color: rgb(27, 40, 56);
}
header, main section, .textLog{
display: flex;
align-items: center;
justify-content: start;
flex-direction: column;
}
.textLog {
height: 320px;
}
#textActions {
display: block;
}
section > .actionButton, section > .text , .textLog > section{
position: absolute;
}
#playersId {
margin: 46px auto 12px auto;
width: 400px;
}
#footerCriticalInfo {
width: 540px;
}
@media (max-width:560px) {
p , li {
font-size: 0.9em;
}
#playersId {
width: 300px;
}
h1 {
font-size: 2em;
}
.textLog {
height: 200px;
}
#footerCriticalInfo {
width: 360px;
}
button {
font-size: 1em;
margin: 0 6px;
}
}
.textRed {
color: red;
}
.textOrange {
color: orange;
}
.textGreen {
color: green;
}
.textYellow {
animation: rainbow 3s infinite;
}
@-webkit-keyframes rainbow{
0%{color: orange;}
10%{color: purple;}
20%{color: red;}
30%{color: CadetBlue;}
40%{color: yellow;}
50%{color: coral;}
60%{color: green;}
70%{color: cyan;}
80%{color: DeepPink;}
90%{color: DodgerBlue;}
100%{color: orange;}
}
@-webkit-keyframes rainbowBorder{
0%{border: 3px solid orange;}
10%{border: 3px solid purple;}
20%{border: 3px solid red;}
30%{border: 3px solid CadetBlue;}
40%{border: 3px solid yellow;}
50%{border: 3px solid coral;}
60%{border: 3px solid green;}
70%{border: 3px solid cyan;}
80%{border: 3px solid DeepPink;}
90%{border: 3px solid DodgerBlue;}
100%{border: 3px solid orange;}
}
.easyButton {
border: 3px solid green;
color: green;
}
.normalButton {
border: 3px solid orange;
color: orange;
}
.hardButton {
border: 3px solid red;
color: red;
}
.insaneButton {
animation: rainbowBorder 3s infinite,rainbow 3s infinite;
}
.visible {
visibility: visible;
}
.invisible {
visibility: hidden;
}
.win {
border: 2px solid green;
border-radius: 12px;
}
.lose {
border: 2px solid red;
border-radius: 12px;
}
.tie {
border: 2px solid orange;
border-radius: 12px;
}
footer {
background-color: rgb(27, 40, 56);
height: 80px;
display: flex;
align-items: center;
justify-content: center;
}
footer div a {
display: flex;
align-items: center;
}
footer div:hover {
#gitImgHidden {
visibility: hidden;
}
}
footer div p {
margin-left: 12px;
}