-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
261 lines (217 loc) · 5.34 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
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Caveat', cursive;
}
body {
background-color: #dfcfcf2b;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
/* background-color: aliceblue; */
}
#container {
width: 30%;
height: 70%;
box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
background-color: antiquewhite;
}
header {
margin-top: 5px;
width: 80%;
height: 8%;
display: grid;
place-items: center;
}
#headerxo {
--b: 2px; /* border thickness */
--s: .15em; /* size of the corner */
--color: #373B44;
width: 300px;
height: 40px;
font-weight: 700;
font-family: "JetBrains Mono",monospace;
padding: calc(.5em + var(--s)) calc(.9em + var(--s));
color: var(--color);
--_p: var(--s);
background:
conic-gradient(from 90deg at var(--b) var(--b),#0000 90deg,var(--color) 0)
var(--_p) var(--_p)/calc(100% - var(--b) - 2*var(--_p)) calc(100% - var(--b) - 2*var(--_p));
transition: .3s linear, color 0s, background-color 0s;
outline: var(--b) solid #0000;
outline-offset: .6em;
font-size: 16px;
border: 0;
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
}
#headerxo:hover,
#headerxo:focus-visible{
--_p: 0px;
outline-color: var(--color);
outline-offset: .05em;
}
#headerxo:active {
background: var(--color);
color: #fff;
}
#winnerButton {
align-items: center;
appearance: none;
background-color: #FCFCFD;
border-radius: 4px;
border-width: 0;
box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px,rgba(45, 35, 66, 0.3) 0 7px 13px -3px,#D6D6E7 0 -3px 0 inset;
box-sizing: border-box;
color: #36395A;
cursor: pointer;
display: inline-flex;
font-family: "JetBrains Mono",monospace;
height: 30px;
justify-content: center;
line-height: 1;
list-style: none;
overflow: hidden;
padding-left: 16px;
padding-right: 16px;
position: relative;
text-align: left;
text-decoration: none;
transition: box-shadow .15s,transform .15s;
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
white-space: nowrap;
will-change: box-shadow,transform;
font-size: 18px;
}
#winnerButton:focus {
box-shadow: #D6D6E7 0 0 0 1.5px inset, rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
}
#winnerButton:hover {
box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
transform: translateY(-2px);
}
#winnerButton:active {
box-shadow: #D6D6E7 0 3px 7px inset;
transform: translateY(2px);
}
section {
height: 100%;
width: 100%;
padding: 10px;
display: grid;
grid-template-columns: repeat(3,1fr);
grid-template-rows: repeat(3,1fr) ;
}
section div:hover {
background-color: rgb(194, 184, 184);
}
.box1 {
border: 3px solid goldenrod;
border-top: none;
border-left: none;
}
.box2 {
border: 3px solid goldenrod;
border-top: none;
}
.box3 {
border: 3px solid goldenrod;
border-top: none;
border-right: none;
}
.box4 {
border: 3px solid goldenrod;
border-left: none;
}
.box5 {
border: 3px solid goldenrod;
}
.box6 {
border: 3px solid goldenrod;
border-right: none;
}
.box7 {
border: 3px solid goldenrod;
border-bottom: none;
border-left: none;
}
.box8 {
border: 3px solid goldenrod;
border-bottom: none;
}
.box9 {
border: 3px solid goldenrod;
border-bottom: none;
border-right: none;
}
footer {
margin-bottom: 5px;
width: 80%;
height: 8%;
display: grid;
place-items: center
}
footer button {
align-items: center;
appearance: none;
background-color: #FCFCFD;
border-radius: 4px;
border-width: 0;
box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px,rgba(45, 35, 66, 0.3) 0 7px 13px -3px,#D6D6E7 0 -3px 0 inset;
box-sizing: border-box;
color: #36395A;
cursor: pointer;
display: inline-flex;
font-family: "JetBrains Mono",monospace;
height: 30px;
justify-content: center;
line-height: 1;
list-style: none;
overflow: hidden;
padding-left: 16px;
padding-right: 16px;
position: relative;
text-align: left;
text-decoration: none;
transition: box-shadow .15s,transform .15s;
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
white-space: nowrap;
will-change: box-shadow,transform;
font-size: 18px;
}
footer button:focus {
box-shadow: #D6D6E7 0 0 0 1.5px inset, rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
}
footer button:hover {
box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
transform: translateY(-2px);
}
footer button:active {
box-shadow: #D6D6E7 0 3px 7px inset;
transform: translateY(2px);
}
.box {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
#winner {
font-size: 100px;
font-weight: 700;
display: grid;
place-items: center;
}