-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
68 lines (58 loc) · 1.25 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
html {
box-sizing: border-box;
font-family: 'Permanent Marker';
background-color: #606c38;
}
.header {
text-align: center;
font-size: 2vh;
}
.game-board-container {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: 1fr 1fr 1fr;
width: 50vw;
height: 50vw;
margin: 40px auto 40px auto;
}
[class^="board-tile"] {
display: flex;
align-items: center;
justify-content: center;
width: calc(50vw / 3);
height: calc(50vw / 3);
font-size: calc(40vw / 3);
}
.board-tile-1, .board-tile-4, .board-tile-7 {
border-right: 4px solid black;
border-left: 4px solid black;
}
.board-tile-3, .board-tile-4, .board-tile-5 {
border-top: 4px solid black;
border-bottom: 4px solid black;
}
.turn-display {
text-align: center;
font-size: 2vh;
}
.new-game {
text-align: center;
}
#restart-game-button {
justify-content: center;
align-items: center;
color: #606c38;
font-family: 'Permanent Marker';
font-size: 25px;
background-color: black;
border-radius: 8px;
height: 7vh;
width: 30vw;
border: 8px solid black;
}
#restart-game-button:hover {
border: 8px solid black;
border-radius: 8px;
color: black;
background-color: #606c38;
}