-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
57 lines (51 loc) · 912 Bytes
/
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
body {
font-family: Arial, sans-serif;
text-align: center;
}
.board {
display: grid;
grid-template-columns: repeat(3, 100px);
gap: 2px;
width: 306px;
margin: 0 auto;
}
.cell {
width: 100px;
height: 100px;
font-size: 36px;
text-align: center;
vertical-align: middle;
cursor: pointer;
border: 2px solid #ccc;
display: flex;
align-items: center;
justify-content: center;
}
.refresh-button {
display: block;
margin: 10px auto;
padding: 10px 20px;
background-color: #4caf50;
color: white;
border: none;
cursor: pointer;
font-size: 16px;
border-radius: 5px;
text-align: center;
}
@media (max-width: 480px) {
/* Adjust styling for smaller screens */
.board {
width: 90%;
grid-template-columns: repeat(3, 30%);
margin: 0 auto;
}
.cell {
width: 30%;
height: 100px;
font-size: 24px;
}
.refresh-button {
width: 100%;
}
}