-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
57 lines (53 loc) · 1.02 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
/*
CSS Style for grid from: GCyrillus. (2014, May 6). How to make a sudoku grid usin HTML and CSS [Answer 1]. Message posted to http://www.stackoverflow.com/questions/23497444/how-to-make-a-sudoku-grid-using-html-and-css
*/
#grid {
margin:1em auto;
}
.cell {
height:30px;
width:30px;
border:1px solid;
text-align:center;
}
.cell input {
width:30px;
height:30px;
font-size: 15px;
text-align: center;
}
.cell:first-child {
border-left:solid;
}
.cell:nth-child(3n) {
border-right:solid ;
}
.row:first-child {
border-top:solid;
}
.row:nth-child(3n) td {
border-bottom:solid ;
}
body {
text-align:center;
min-width:600px;
}
.optionbuttons {
margin: 0 auto;
width: 300px;
display: block;
height: 30px;
background-color: lightgray;
font-size: 12px;
margin-bottom: 5px;
}
#outputlist {
padding:10px;
text-align:center;
list-style: none;
width:300px;
height:150px;
background-color:#d9d9d9;
display:block;
margin: 20px auto;
}