-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
89 lines (76 loc) · 1.36 KB
/
Copy pathstyle.css
File metadata and controls
89 lines (76 loc) · 1.36 KB
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background-color: #0f172a;
color: #f8fafc;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.game-container {
text-align: center;
}
h1 {
font-size: 2.5rem;
color: #38bdf8;
margin-bottom: 5px;
}
.status {
font-size: 1.2rem;
font-weight: 500;
color: #94a3b8;
margin-bottom: 25px;
}
.board {
display: grid;
grid-template-columns: repeat(3, 100px);
grid-template-rows: repeat(3, 100px);
gap: 8px;
background-color: #334155;
padding: 8px;
border-radius: 12px;
margin-bottom: 30px;
}
.cell {
background-color: #1e293b;
border-radius: 6px;
display: flex;
justify-content: center;
align-items: center;
font-size: 4rem;
font-weight: bold;
cursor: pointer;
transition: background-color 0.2s ease;
}
.cell:not(.x):not(.o):hover {
background-color: #334155;
}
.cell.x {
color: #ef4444;
}
.cell.o {
color: #3b82f6;
}
.reset-btn {
background-color: #38bdf8;
color: #0f172a;
border: none;
padding: 12px 24px;
font-size: 1.1rem;
font-weight: bold;
border-radius: 8px;
cursor: pointer;
transition: all 0.2s ease;
}
.reset-btn:hover {
background-color: #7dd3fc;
transform: translateY(-2px);
}
.reset-btn:active {
transform: translateY(0);
}