-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
74 lines (62 loc) · 1.17 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
html, body {
margin: 0;
padding: 0;
}
body {
font-family: 'Helvetica';
background-color: rgb(30, 30, 30);
color: white;
margin: 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
canvas {
display: block;
position: relative;
}
#game {
position: relative;
}
.options {
margin-top: 5px;
}
.hidden {
display: none;
}
.restart-button {
display: flex;
padding: 0.5rem;
font-size: 1rem;
border: 2px solid #986d34;
border-radius: 5px;
background-color: #c9ac68;
color: black;
}
.restart-button:hover {
background-color: #986d34;
}
label > input[type='checkbox'] {
display: none;
}
label > input[type='checkbox'] + *::before {
content: "";
display: inline-block;
vertical-align: middle;
margin-right: 3px;
width: 1rem;
height: 1rem;
border-radius: 10%;
border-style: solid;
border-width: 0.1rem;
border-color: gray;
}
label > input[type="checkbox"]:checked + *::before {
text-align: center;
background: #c9ac68;
border-color: #986d34;
}
label > input[type="checkbox"]:checked + * {
color: #986d34;
}