-
Notifications
You must be signed in to change notification settings - Fork 3
/
minesweep.css
71 lines (68 loc) · 1.13 KB
/
minesweep.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
body {
font-family: Helvetica, sans-serif;
background: #333;
}
footer {
text-align: center;
margin-top: 8em;
}
footer a {
color: #aaa;
font-size: 32px;
}
.container {
padding-top: 10em;
}
.controls {
text-align: center;
padding-bottom: 1em;
}
table.minesweeper {
margin: auto;
border: 1px solid #999;
border-collapse: collapse;
background-color: #ddd;
}
table.minesweeper td {
width: 24px;
height: 24px;
background-size: cover;
}
td.unopened {
background: url('img/unopened.svg');
cursor: pointer;
}
td.opened {
background: url('img/opened.svg');
}
td.flagged {
background: url('img/flag.svg');
cursor: pointer;
}
td.mine {
background: url('img/mine.png');
}
td.mine-neighbour-1 {
background: url('img/1.svg');
}
td.mine-neighbour-2 {
background: url('img/2.svg');
}
td.mine-neighbour-3 {
background: url('img/3.svg');
}
td.mine-neighbour-4 {
background: url('img/4.svg');
}
td.mine-neighbour-5 {
background: url('img/5.svg');
}
td.mine-neighbour-6 {
background: url('img/6.svg');
}
td.mine-neighbour-7 {
background: url('img/7.svg');
}
td.mine-neighbour-8 {
background: url('img/8.svg');
}