-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.css
86 lines (75 loc) · 1.36 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
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 100%;
height: 100vh;
}
.container {
width: 300px;
margin: 0 auto;
background-color: #fff;
padding: 20px;
border-radius: 5px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
h1 {
font-size: 24px;
}
.status {
font-size: 20px;
margin-bottom: 10px;
}
.board {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 4px;
background-color: #333;
border-radius: 5px;
}
.cell {
width: 100%;
height: 100px;
font-size: 36px;
display: flex;
align-items: center;
justify-content: center;
background-color: #fff;
cursor: pointer;
}
.cell:hover {
background-color: #ccc;
}
#new-game {
display: block;
margin: 20px auto;
background-color: #333;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
}
/* ... (toast CSS content) ... */
.toast {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: rgba(0, 0, 0, 0.8);
color: #fff;
padding: 10px;
border-radius: 5px;
text-align: center;
display: none;
z-index: 999;
backdrop-filter: blur(4px); /* Apply background blur */
}
.toast-content {
font-size: 24px;
}
/* ... (additional CSS rules) ... */