forked from richard-graham/richard-graham.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathminesweeper.css
83 lines (69 loc) · 1.34 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
@font-face {
font-family: 'hellText';
src: url("./metallord.ttf")
}
html, body {
height: 100%;
font-family: 'Open Sans', sans-serif
}
body {
display: flex;
align-items: center;
justify-content: flex-center;
flex-direction: column;
background-image: url("images/hell.png");
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
#message, #notes {
display: flex;
flex-direction: column;
align-items: center;
}
#message {
font-size: 4rem;
font-family: "hellText";
text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white;
}
.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/100% url("images/jesus.jpg");
}
div.hidden {
background: #eee;
}
div.hidden:hover {
background: #ccc;
}
div.marked, div.marked:hover {
background: no-repeat center/60% url("images/mark.svg") deepskyblue;
}
.restart {
padding: 15px;
margin-top: 20px;
font-family: "hellText";
font-size: 1.2rem;
}
.restart:hover {
background-color: red;
}