-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
51 lines (44 loc) · 860 Bytes
/
Copy pathstyle.css
File metadata and controls
51 lines (44 loc) · 860 Bytes
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
:root {
--minesquare-length: 2.5rem;
}
html, body {
margin: 0;
padding: 0;
font-family: Arial, Helvetica, sans-serif;
background-color: #1f1f1f;
color: #fff8e7;
}
#minesweeper-board {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
flex-wrap: wrap;
max-width: 100%;
max-height: 100%;
}
.minesquare {
background-color: #2e2e2e;
margin: 0;
padding: 0;
height: var(--minesquare-length);
width: var(--minesquare-length);
box-sizing: border-box;
border: 2px solid #131313;
overflow: hidden;
}
.minesquare:hover {
filter: brightness(150%);
}
.minesquare-row {
display:flex;
}
.minesquare-content {
display: block;
font-weight: bold;
margin: 0;
padding: 0;
}
.minesquare-unopened {
background-color: #4e4e4e;
}