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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
|
<!DOCTYPE html>
<html>
<head>
<style>
html
{
height: 100%;
}
html, body, .battlemap
{
position: absolute;
top: 0;
bottom: 0;
right: 0;
left: 0;
}
.battlemap-container
{
overflow: auto;
resize: vertical;
width: inherit;
height: 70%;
}
.battlemap-actual
{
display: inline-block;
}
.battlemap-tiled
{
position: absolute;
height: 32px;
width: 32px;
}
.battlemap-tile-icon
{
z-index: 0;
}
.asset-tile-\"0\"
{
background-color: green;
}
.asset-tile-\"1\"
{
background-color: yellow;
}
.asset-tile-\"2\"
{
background-color: red;
}
.battlemap-character-icon
{
z-index: 2;
}
.asset-character-icon-Icon0
{
background-color: cyan;
}
.asset-character-icon-Icon1
{
background-color: blue;
}
.asset-character-icon-Icon2
{
background-color: darkblue;
}
.battlemap-marker-icon
{
z-index: 1;
}
.asset-marker-icon-can-go-to
{
background-color:rgba(0,0,0,0.5);
}
.asset-marker-icon-can-attack
{
background-color:rgba(0,0,0,0.7);
}
.battlemap-path-icon
{
z-index: 3;
color: white;
}
.asset-path-icon-NR:before,
.asset-path-icon-LR:before,
.asset-path-icon-RR:before,
.asset-path-icon-UR:before,
.asset-path-icon-DR:before
{
content: "}";
}
.asset-path-icon-NL:before,
.asset-path-icon-LL:before,
.asset-path-icon-RL:before,
.asset-path-icon-UL:before,
.asset-path-icon-DL:before
{
content: "{";
}
.asset-path-icon-NU:before,
.asset-path-icon-LU:before,
.asset-path-icon-RU:before,
.asset-path-icon-UU:before,
.asset-path-icon-DU:before
{
content: "^";
}
.asset-path-icon-ND:before,
.asset-path-icon-LD:before,
.asset-path-icon-RD:before,
.asset-path-icon-UD:before,
.asset-path-icon-DD:before
{
content: "v";
}
.asset-path-icon-markN:before,
.asset-path-icon-markL:before,
.asset-path-icon-markU:before,
.asset-path-icon-markD:before,
.asset-path-icon-markR:before
{
content: "x";
}
</style>
</head>
<body>
<script src="script/main.js"></script>
<script>Elm.Main.fullscreen();</script>
</body>
</html>
|