-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
84 lines (71 loc) · 1.36 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
75
76
77
78
79
80
81
82
83
84
body {
background: #262626;
color: white;
font-family: sans-serif;
}
h1 {
text-align: center;
}
h1 a {
text-decoration: none;
color: white;
}
h1 a:hover {
color: #60a5fa;
}
#scores {
margin-top: 100px;
display: flex;
flex-direction: row;
}
#scores > div {
width: 50%;
text-align: center;
font-size: 18pt;
}
#board {
width: 300px;
margin-inline: auto;
margin-top: 50px;
display: grid;
grid-template-columns: auto auto auto;
font-size: 48pt;
user-select: none;
}
.board-tile {
height: 100px;
width: 100px;
outline:1px solid white;
display: flex;
justify-content: center;
align-items: center;
background-color: #404040;
}
.board-tile:nth-child(1) {
border-top-left-radius: 10px;
}
.board-tile:nth-child(3) {
border-top-right-radius: 10px;
}
.board-tile:nth-child(7) {
border-bottom-left-radius: 10px;
}
.board-tile:nth-child(9) {
border-bottom-right-radius: 10px;
}
#result-div {
height: 100px;
width: 250px;
margin-inline: auto;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
border: 1px solid white;
border-radius: 10px;
margin-top: 50px;
}
#result-div p {
text-align: center;
font-size: 18pt;
}