-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
118 lines (100 loc) · 1.51 KB
/
styles.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
body {
background-color: black;
font-family: "Lucidia Console", cursive;
color: white;
}
h1 {
text-align: center;
padding-bottom: 20px;
font-weight: bold;
text-align: center;
vertical-align: middle;
}
.box {
display: flex;
align-items: center;
justify-content: center;
width: 100px;
height: 100px;
font-weight: bold;
font-size: 60px;
border: 2px solid white;
}
.box:hover {
cursor: pointer;
}
.board {
display: grid;
width: 300px;
height: 300px;
grid-template-columns: auto auto auto;
margin: 0 auto;
}
#c00, #c01, #c02 {
border-top: none;
}
#c02, #c12, #c22 {
border-right: none;
}
#c00, #c10, #c20 {
border-left: none;
}
#c20, #c21, #c22 {
border-bottom: none;
}
.score {
font-size: 30px;
text-align: center;
margin: 40px auto;
margin-bottom: 10px;
}
.fa {
color: yellow;
}
.score-table table {
border-collapse: collapse;
margin: 0 auto;
}
.score-table th, td {
border: 3px solid white;
height: 40px;
width: 180px;
text-align: center;
font-size: 20px;
}
.score-table th {
padding: 0px 10px;
}
.buttons {
display: flex;
align-items: center;
flex-direction: column;
margin: 10px auto;
}
button {
outline: none;
font-size: 20px;
border-radius: 8px;
background-color: transparent;
color: white;
font-weight: bold;
padding: 5px;
margin-bottom: 8px;
border: 0px solid black;
}
button:hover {
cursor: pointer;
background-color: white;
color: black;
}
.chance {
color: yellow;
}
.won {
color: yellow;
}
h2 {
text-align: center;
margin: 8px auto;
color: yellow;
}