-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
244 lines (230 loc) · 4.46 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
/* Breakpoints */
body {
background: #292F36;
height: 100vh;
font-family: "Roboto", sans-serif;
font-size: 16px;
color: #fff;
}
.title {
font-family: "Fredoka One", cursive;
color: #fff;
}
.hero.is-primary {
background-color: #E3B505;
color: #fff;
}
.hero.is-primary .hero-body {
display: flex;
justify-content: center;
}
.hero.is-primary .title.is-1 {
color: #fff;
}
.button.is-primary {
background-color: #04A777;
font-family: "Fredoka One", sans-serif;
font-size: 1.4em;
}
.button.is-primary:hover, .button.is-primary:focus {
background: #048B63;
}
@media (min-width: 768px) {
.button.is-primary {
min-width: 12.5em;
}
.button.is-primary.start-game {
display: flex;
margin: 0 auto;
}
.button.is-primary.restart {
min-width: auto;
}
}
.button.is-link {
background-color: #04A777;
}
.button.is-link:hover, .button.is-link:focus {
background: #048B63;
}
.sr-only {
border: 0;
clip: rect(1px 1px 1px 1px);
/* IE6, IE7 */
clip: rect(1px, 1px, 1px, 1px);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
.hide {
display: none;
overflow: hidden;
height: 0;
opacity: 0;
transition: height 0ms 100ms, opacity 100ms 0ms;
}
.show {
display: block;
height: auto;
opacity: 1;
transition-delay: 100ms;
}
.section {
background: #292F36;
color: #fff;
display: flex;
justify-content: center;
flex-flow: column;
}
.section #gameboard {
margin: 1em auto 3em;
}
.section #gameboard td {
width: 6em;
height: 6em;
}
.section #gameboard td:first-of-type {
border-right: 1em solid #fff;
}
.section #gameboard td:last-of-type {
border-left: 1em solid #fff;
}
.section #gameboard tr:first-child {
border-bottom: 1em solid #fff;
}
.section #gameboard tr:last-child {
border-top: 1em solid #fff;
}
.section #gameboard:hover, .section #gameboard :focus {
cursor: pointer;
}
.section #gameboard span.sign {
display: flex;
justify-content: center;
font-family: "Fredoka One";
font-size: 3.5em;
}
div.game-controls {
display: flex;
justify-content: center;
flex-flow: column nowrap;
align-items: center;
}
div.game-controls .label {
color: #fff;
}
div.game-controls div.field {
background: rgba(255, 255, 255, 0.1);
border-radius: 0.4em;
padding: 2em 4em;
margin: 2em -2em;
}
@media (min-width: 768px) {
div.game-controls div.field {
border-radius: 0.5em;
padding: 1em 2em;
margin-top: 0;
}
}
div.game-controls div[data-group=player-selection] {
padding: 1em 0.5em;
}
@media (min-width: 768px) {
div.game-controls div[data-group=two-players] > div {
display: inline-block;
}
div.game-controls div[data-group=two-players] > div:first-of-type {
margin: 0 2em 2em 1em;
}
div.game-controls div[data-group=two-players] > div:nth-child(2) {
margin: 0 1em 0 2em;
}
}
form input {
font-family: "Roboto";
letter-spacing: 1px;
color: rgba(41, 47, 54, 0.7);
font-weight: 600;
text-transform: capitalize;
}
div.active-game {
display: flex;
justify-content: space-between;
background: rgba(255, 255, 255, 0.1);
padding: 0.5em 1em 0.5em 1.5em;
border-radius: 0.4em;
margin: 0 -0.5em;
}
div.active-game div {
margin-right: 1.5em;
}
@media (min-width: 768px) {
div.active-game div {
margin-right: 4em;
}
}
div.active-game p {
font-size: 1.76rem;
font-family: "Fredoka One";
line-height: 3.5rem;
}
div.active-game p span {
text-transform: capitalize;
}
div.modal .box {
display: flex;
flex-flow: column;
}
@media (min-width: 768px) {
div.modal .box {
padding: 2em 3.5em;
}
}
div.modal p {
font-family: "Roboto", sans-serif;
font-size: 1.5em;
margin: 1em;
text-align: center;
}
div.modal p:first-of-type {
font-family: "Fredoka One";
font-size: 2.5rem;
}
div.modal p span {
color: #E3B505;
}
/* ----------------------------------------------
* Generated by Animista on 2021-6-16 12:41:9
* Licensed under FreeBSD License.
* See http://animista.net/license for more info.
* w: http://animista.net, t: @cssanimista
* ---------------------------------------------- */
/**
* ----------------------------------------
* animation fade-out
* ----------------------------------------
*/
@-webkit-keyframes fade-out {
0% {
opacity: 1;
transform: scale(1);
}
100% {
opacity: 0;
transform: scale(0);
}
}
@keyframes fade-out {
0% {
opacity: 1;
transform: scale(1);
}
100% {
opacity: 0;
transform: scale(0);
}
}
/*# sourceMappingURL=styles.css.map */