-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
134 lines (128 loc) · 2.51 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
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
*{
margin: 0;
padding: 0;
}
html{
height: 100%; /* for footer */
}
body{
background-color: #D9E4EC;
display: flex;
flex-direction: column;
min-height: 100%;
}
header{
display: flex;
flex-direction: column;
}
h1{
text-transform: uppercase;
color: #385E72;
text-align: center;
font-family: monospace;
font-size: 7em;
margin: 10px 0;
text-shadow: 0 0 2px #385E72, 2px 2px 5px rgba(s0,0,0,0.3);
cursor: default;
}
h1.darkk{
color: #b7cfdc;
}
h3{
display: inline-block; /* to make difficulty/theme/time and radio options on same line */
}
.settings{
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
width:75%;
margin: 10px auto;
height: 90px;
}
#startBtn{
width: 100px;
height: 30px;
margin: 10px auto;
text-align: center;
line-height: 20px;
}
footer{
display: flex;
justify-content: center;
align-items: center;
width: 100vw;
height: 60px;
margin-top: auto; /* to put footer at the end since body is flex and min-heigh:100% and html is 100% */
}
.hidden{
display: none !important; /* If we dont write imp then ID > class so display will be acc to what is mentioned in the ID*/
}
body.dark{
background-color: #082032;
color: rgb(230, 210, 210);
}
p.selected{
background-color: lightblue;
}
#game{
display: flex;
justify-content: center;
}
#board{ /* sudoku board */
padding-top:10px;
margin-top:10px;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-content: center;
width:600px;
height:600px;
background-color: #B7CFDC;
}
#board.boardDark{
background-color: slategray;
}
.tile{ /* tiles in board. JS class */
border: 1px solid black;
width: 60px;
height: 60px;
text-align: center;
margin: 0;
vertical-align: middle;
font-size: 40pt;
}
.numberPlate{
width: 60px;
display: flex;
flex-wrap: wrap;
align-items: center;
margin-left: 50px;
}
.numberTile{
border: 1px solid black;
border-radius: 15%;
width: 60px;
height: 60px;
font-size: 30pt;
display: flex;
justify-content: center;
align-items: center;
margin: 0;
cursor: pointer;
}
.incorrect{
color: red;
}
.stats{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 90px;
font-size: 40px;
padding: 40px;
}
#timer{
padding-bottom: 10px;
}