-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
73 lines (58 loc) · 1.14 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
html,
body {
height: 100%;
}
body {
background-color: #82E0AA;
display: flex;
justify-content: center;
align-items: center;
font-family: Arial, Helvetica, sans-serif;
}
.board {
height: 500px;
width: 60%;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(3, 1fr);
margin-right: auto;
margin-left: 20%;
}
.cell {
border-bottom: 5px solid black;
border-right: 5px solid black;
font-size: 50px;
text-align: center;
line-height: 95px;
cursor: pointer;
user-select: none;
padding: 20px;
}
.cell:nth-child(3n) {
border-right: none;
}
.cell:nth-child(n+7) {
border-bottom: none;
}
.cell.highlight {
background-color: #f7b32c;
}
.control {
width: 50%;
margin-left: 20%;
margin-right: auto;
}
.button {
background-color: #2698cd;
/* Green */
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
}
.gameStatement{
margin-top: auto;
}