blob: e27f59d225e82e45d47016d42313e1f93e46f289 (
plain)
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
|
html {
background: #ccc;
}
body {
font-family: sans-serif;
font-weight: 400;
width: 31.1rem;
margin: auto;
padding: 1rem 2rem;
background: #fff;
}
.sudoku {
display: grid;
grid-template-columns: repeat(3, 3.2rem) 0.15rem repeat(3, 3.2rem) 0.15rem repeat(3, 3.2rem);
grid-template-rows: repeat(3, 3.2rem) 0.15rem repeat(3, 3.2rem) 0.15rem repeat(3, 3.2rem);
width: fit-content;
gap: 0.1rem;
place-items: center;
padding: 0.5rem;
margin: 1rem 0;
background: #999;
}
.cell {
width: 3rem;
height: 3rem;
background: #fff;
color: #048;
}
.cell:not(.cell-fixed):focus,
.cell:not(.cell-fixed).focused {
border: 0.25rem solid lightblue;
margin: 0;
}
.cell.cell-fixed,
.cell.cell-single {
font-size: 2.5rem;
line-height: 3rem;
text-align: center;
}
.cell.cell-fixed {
color: #000;
font-weight: bold;
}
.keyboard {
display: grid;
width: fit-content;
margin: auto;
grid-template-columns: repeat(6, 4rem);
}
.keyboard button {
font-size: 2.0rem;
grid-column: span 2;
margin: 0.2rem 0.1rem;
border: 2px solid #999;
background: #eee;
}
.keyboard button.clear,
.keyboard button.notes {
font-size: 1.5rem;
grid-column: span 3;
}
button.notes.notes-active {
background: darkgray;
}
|