-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
74 lines (63 loc) · 1.11 KB
/
main.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
:root {
--bg-color: #333;
--bg-color-alt: #353535;
--color: #d3d3d3;
}
body {
background-color: var(--bg-color);
color: var(--color);
margin: 0px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: baseline;
width: 100vw;
height: 100vh;
flex-basis: 1 auto;
}
main {
display: flex;
flex-direction: row;
column-gap: 3em;
width: 80vw;
justify-content: center;
}
.big-board {
flex: none;
}
.controlls {
flex: 3 1 auto;
width: fit-content;
max-width: 20vw;
background-color: #222;
padding: 1rem;
}
#move-history {
height: 8em;
overflow: scroll;
}
#move-history > p {
margin: 0.5em;
}
#game-history {
display: flex;
flex-direction: row;
justify-content: center;
column-gap: 1em;
margin: 1em;
}
#game-history > * {
aspect-ratio: 1;
background-color: var(--bg-color-alt);
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
#game-history > * > * {
margin: 0.5rem;
}
.score {
font-size: 1.5rem;
}