-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
48 lines (43 loc) · 840 Bytes
/
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
:root{
--light: #e2e2e2;
--dark-gray: #383838;
--darker-gray: #2b2b2b;
--button: #948f8f;
--button-hover: #838282;
--cell-alive: #349fa3;
}
body{
text-align: center;
background-color: var(--darker-gray);
color: var(--light);
}
#world{
padding-bottom: 10px;
}
table{
background-color: var(--darker-gray);
margin: 0px auto;
}
td{
border: 1px solid var(--dark-gray);
width: 10px;
height: 10px;
}
#statistics span:not([id]){ /* do not apply to value spans*/
margin: 25px 25px;
}
#controls{
margin: 15px 0px;
}
input[type=button]{
padding: 10px;
background-color: var(--button);
border: 1px solid var(--button);
border-radius: 15px;
}
input[type=button]:hover{
background-color: var(--button-hover);
}
.alive{
background-color: var(--cell-alive);
}