-
Notifications
You must be signed in to change notification settings - Fork 1
/
minesweeper.css
87 lines (71 loc) · 1.32 KB
/
minesweeper.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
html, body {
height: 100%;
font-family: 'Montserrat', sans-serif, Arial;
}
body {
display: flex;
align-items: center;
justify-content: flex-center;
flex-direction: column;
}
#message, #notes {
display: flex;
flex-direction: column;
align-items: center;
}
#message {
font-size: 1.5rem;
}
.board {
display: flex;
flex-wrap: wrap;
}
.board div {
color: green;
font-size: 2rem;
width: 75px;
height: 75px;
border: 1px #ccc dotted;
border-radius: 10%;
background-color: white;
margin: 3px;
display: flex;
align-items: center;
justify-content: center;
}
.board div:hover {
background-color: white;
}
div.mine, div.mine:hover {
background: no-repeat center/60% url("images/bomb.svg") crimson;
}
div.hidden {
background: #eee;
}
div.hidden:hover {
background: #ccc;
}
div.marked, div.marked:hover {
background: no-repeat center/60% url("images/mark.svg") deepskyblue;
}
.button {
display: inline-block;
padding: 0 15px 0 15px;
}
.buttons {
position: relative;
text-align: center;
padding-right: 10px;
}
#reset {
background-color: transparent;
font-family: 'Montserrat', sans-serif, Arial;
}
#smaller {
background-color: transparent;
font-family: 'Montserrat', sans-serif, Arial;
}
#bigger {
background-color: transparent;
font-family: 'Montserrat', sans-serif, Arial;
}