-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsquare.css
83 lines (64 loc) · 1.27 KB
/
square.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
/*
*
*/
body {
font-family: Verdana, Sans-serif;
}
#ui {
position: relative;
}
#settings {
float: left;
border-style: solid;
border-width: 1px;
padding-left: 8px;
/* TODO make the width and layout definiton be media query driven. Height should match game world */
width: 256px;
height: 512px;
}
#gameArea {
position: relative;
float: left;
margin-right: 20px;
border-style: solid;
/* TODO make the width and height setting programatic and driven by map definition */
width: 768px;
height: 512px;
}
#groundLayer {
position: absolute;
z-index: 10;
}
.player {
height: 32px;
width: 32px;
z-index: 100;
position: absolute;
/* background-image:url('resources/graphics/player.png'); */
background-image:url('resources/graphics/BaBomb_png/man_f.png');
background-repeat:no-repeat;
}
.rat {
height: 32px;
width: 32px;
z-index: 100;
position: absolute;
background-image:url('resources/graphics/rat/rat1.png');
background-repeat:no-repeat;
}
#gameArea .background {
height: 32px;
width: 32px;
position: absolute;
}
#gameArea #sizer.background {
display: none;
}
#gameArea .background.error1 {
background-color: navy;
background-image: none !important;
}
#gameArea .background.error2 {
background-color: fuchsia;
background-image: none !important;
}