-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
94 lines (79 loc) · 1.38 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
85
86
87
88
89
90
91
92
93
94
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
font-family: 'Itim', cursive;
}
.background {
background-color: #12181B;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.title {
color: white;
text-align: center;
font-size: 40px;
margin-bottom: 20px;
}
.display {
color: white;
font-size: 25px;
text-align: center;
margin-bottom: 20px;
}
.container {
display: grid;
grid-template-columns: repeat(3, 100px);
grid-template-rows: repeat(3, 100px);
gap: 10px;
}
.tile {
border: 1px solid white;
display: flex;
justify-content: center;
align-items: center;
font-size: 50px;
color: white;
cursor: pointer;
transition: background-color 0.3s ease;
}
.tile:hover {
background-color: #3A3A3A;
}
.playerX {
color: #09C372;
}
.playerO {
color: #498AFB;
}
.controls {
margin-top: 20px;
}
.controls button {
padding: 8px 16px;
border-radius: 8px;
border: none;
font-size: 20px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.controls button.restart {
background-color: #498AFB;
color: white;
}
.controls button.restart:hover {
background-color: #2E6AD0;
}
.announcer {
color: white;
font-size: 24px;
margin-top: 20px;
}
.hide {
display: none;
}