-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
77 lines (65 loc) · 1.09 KB
/
styles.css
File metadata and controls
77 lines (65 loc) · 1.09 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
body {
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #f0f0f0;
}
.container {
text-align: center;
}
h1 {
color: #333;
}
#game-container {
background-color: #fff;
border-radius: 8px;
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
#grid {
display: inline-grid;
grid-template-columns: repeat(8, 30px);
gap: 1px;
background-color: #bdbdbd;
border: 2px solid #7b7b7b;
padding: 1px;
}
.cell {
width: 30px;
height: 30px;
background-color: #c0c0c0;
border: 1px solid #fff;
box-sizing: border-box;
display: flex;
justify-content: center;
align-items: center;
font-weight: bold;
cursor: pointer;
}
.cell:hover {
background-color: #d3d3d3;
}
.revealed {
background-color: #e0e0e0;
}
.mine {
background-color: #ff0000;
}
#controls {
margin-top: 20px;
display: flex;
justify-content: space-between;
align-items: center;
}
#new-game-btn {
padding: 5px 10px;
font-size: 14px;
cursor: pointer;
}
#mine-count,
#timer {
font-size: 14px;
}