-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
61 lines (55 loc) · 1.09 KB
/
main.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
/* TODO: Switch to SCSS! */
/* TODO: and break per component */
* { /* poor's man reset */
margin: 0;
padding: 0;
}
body {
font-family: fantasy, sans-serif;
}
.grid {
width: fit-content;
margin: auto;
}
.row {
display: flex;
flex-direction: row;
width: fit-content;
}
.row:not(:last-child) {
border-bottom: 1px solid grey;
}
.cell {
width: 33.3vmin;
height: 33.3vmin;
line-height: 33.3vmin; /* all these '33vmin' need to be parameterized */
font-size: 33.3vmin;
text-align: center;
}
.cell:not(:last-child) {
border-right: 1px solid grey; /* should be a SCSS var as well... */
}
.cell.taken {
cursor: not-allowed;
}
.announce-result {
background-color: rgba(192, 192, 192, 0.8);
position: fixed;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
font-family: monospace;
}
.announce-result h1 {
font-size: 8em;
}
.announce-result button {
margin: 0.5em;
padding: 0.5em;
font-size: 2em;
font-family: inherit;
}