-
Notifications
You must be signed in to change notification settings - Fork 0
/
9sq.css
85 lines (72 loc) · 1.39 KB
/
9sq.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
:root {
--bold-border-color: #ccc;
--light-border-color: #555;
}
board {
display: grid;
grid-template-columns: repeat(3, 1fr);
margin: 0 auto;
width: calc(405px + 4px + 12px);
border: 2px solid var(--bold-border-color);
}
panel {
display: flex;
justify-content: space-between;
align-items: center;
width: calc(405px + 4px + 12px);
margin: 0 auto;
margin-bottom: 2rem;
}
button-panel {
display: grid;
grid-gap: 0.5rem;
}
nine {
display: grid;
grid-template-columns: repeat(3, 1fr);
border: 2px solid var(--bold-border-color);
}
sq {
display: grid;
align-items: center;
justify-content: center;
height: 45px;
width: 45px;
border: 1px solid var(--light-border-color);
cursor: pointer;
}
sq.updating {
background: #333;
}
sq.ctrl {
border: 1px solid red;
}
sq.prefill {
background: #222;
cursor: default;
}
controls {
display: grid;
grid-template-columns: repeat(6, 1fr);
width: calc(270px + 4px);
border: 2px solid var(--bold-border-color);
}
ctrl {
display: grid;
align-items: center;
justify-content: center;
height: 45px;
width: 45px;
border: 1px solid var(--light-border-color);
cursor: pointer;
}
ctrl.empty {
cursor: default;
}
super-secret-stuff {
display: block;
height: 1px;
width: 1px;
overflow: hidden;
opacity: 0;
}