forked from github/game-off-2012
/
style.css
51 lines (43 loc) · 831 Bytes
/
style.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
body {
margin: 0;
padding: 0;
}
.metrics {
position: absolute;
right: 0;
}
.row {
clear: both;
height: 32px;
}
.tile {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
background: url('../resources/empty.svg');
background-size: 32px 32px;
float: left;
height: inherit;
width: 32px;
}
.player {
background: url('../resources/octocat.svg');
height: 100%;
width: 100%;
}
.tile.grass {
background: url('../resources/grass.svg');
background-size: 32px 32px;
}
.tile.grass2 {
background: url('../resources/grass2.svg');
background-size: 32px 32px;
}
.tile.block {
background: url('../resources/block.svg');
background-size: 32px 32px;
}
.tile.monster {
background: none;
background-color: red;
}