-
Notifications
You must be signed in to change notification settings - Fork 0
/
sudoku.css
112 lines (100 loc) · 2.35 KB
/
sudoku.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
/*
* Sudoku is html/javascript code that lets you solve a sudoku puzzle.
* Copyright (C) 2020 Arun Kunchithapatham
*
* This file is part of Sudoku.
*
* Sudoku is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Sudoku is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with Sudoku. If not, see <http://www.gnu.org/licenses/>.
*/
div.sudoku {
position: fixed;
border: solid 2px black;
}
div.sudokusquare {
position: absolute;
font-size: 3em;
color:#00008B;
text-align: center;
vertical-align: middle;
border: solid 1px black;
background-clip: padding-box;
}
div.fixed {
background-color:#dfdfdf;
color: #000000;
font-weight: bold;
}
div.selected {
background-color:#d8bfd8;
}
div.error {
background-color:#fa8072;
}
div.sudokuchoice {
position: absolute;
font-size: 3em;
text-align: center;
vertical-align: middle;
border: solid 1px black;
}
div.disabled {
visibility:hidden;
pointer-events: none;
}
div.sudokucontroller {
font-size: 1em;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
}
div.controllerbutton {
border: solid 1px silver;
border-radius: 10px;
height: 2em;
line-height: 2em;
text-align: center;
float: left;
padding: 5px;
font-size: 2em;
cursor: pointer;
}
div.sudokumenu {
position: fixed;
border: solid 1px silver;
border-radius: 10px;
background-color: white;
display: grid;
grid-template-columns: repeat(2, 1fr);
row-gap: 50px;
column-gap: 50px;
z-index: 10;
}
div.sudokumenuitem {
border: solid 1px silver;
border-radius: 10px;
height: 2em;
line-height: 2em;
text-align: center;
float: left;
padding: 5px;
font-size: 2em;
cursor: pointer;
}
div.sudoku_mask
{
position: fixed;
background-color: silver;
opacity: 0.99;
z-index: 9999999;
visibility: hidden;
}