-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
60 lines (55 loc) · 1.22 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
body {
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #faf8ef;
}
.container {
text-align: center;
}
.game-board {
display: grid;
grid-template-columns: repeat(4, 100px);
grid-template-rows: repeat(4, 100px);
gap: 10px;
background-color:#dbad82;
padding: 10px;
border-radius: 10px;
margin: 20px auto;
}
.tile {
width: 100px;
height: 100px;
background-color: #cdc1b4;
display: flex;
justify-content: center;
align-items: center;
font-size: 24px;
font-weight: bold;
color: #776e65;
border-radius: 5px;
}
.score-board {
margin-top: 20px;
font-size: 18px;
}
#restart-button {
margin-top: 20px;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
}
/* CSS for the high score table positioning */
#high-score-table {
border: 1px solid #ccc;
padding: 10px;
margin-top: 20px;
max-width: 200px;
position: absolute; /* Position it to the side */
right: 20px; /* Adjust as needed */
top: 20px; /* Adjust as needed */
background-color: #f9f9f9;
}