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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
|
header { background-color: hsl(39, 25%, 75%); }
#replay_panel { background-color: hsl(39, 25%, 75%);; }
#log { background-color: hsl(50, 50%, 92%); }
#log .h1 { background-color: #803a3c; color: gold; text-shadow: 0 0 1px white; }
#log .h2 { background-color: hsl(45, 30%, 70%); }
#log .h3 { background-color: hsl(45, 30%, 80%); }
body.French header.your_turn { background-color: hsl(195, 72%, 75%); }
#role_French .role_name { background-color: hsl(195, 72%, 80%); }
body.Coalition header.your_turn { background-color: white; }
#role_Coalition .role_name { background-color: white; }
.role_vp { float: right; }
#log .h1 { font-weight: bold; padding-top:2px; padding-bottom:2px; }
#log .h2 { padding-top:1px; padding-bottom:1px; }
#log .h3 { padding-top:1px; padding-bottom:1px; }
#log .h1, #log .h2, #log .h3 { text-align: center; }
#log .h1, #log .h2, #log .h3 { margin: 2px 0; }
#log .h1, #log .h2, #log .h3 { border-top: 1px solid #000a; border-bottom: 1px solid #000a; }
#log div { padding-left: 20px; text-indent: -12px; }
#log div.i { padding-left: 32px; text-indent: -12px; }
#log .tip { cursor: pointer }
#log .tip:hover { text-decoration: underline }
#log span.french { background-color: hsl(195, 72%, 90%); padding: 0 2px }
#log span.anglo { background-color: white; padding: 0 2px }
#log span.prussian { background-color: gainsboro; padding: 0 2px }
main {
background-color: dimgray;
}
#map {
width: 2550px;
height: 1940px;
}
#board, #tracks, #hexes, #pieces {
position: absolute;
}
#board {
top: 0px;
left: 0px;
width: 2550px;
height: 1650px;
background-color: #803a3b;
background-image: url(images/map75.jpg);
background-size: 2550px 1650px;
box-shadow: 0 0 8px #0008;
}
#tracks {
top: 1670px;
left: 20px;
width: 600px;
height: 250px;
background-color: #d0c5b1;
background-size: 600px 250px;
background-position: 0px 0px;
background-repeat: no-repeat;
background-image: url(images/tracks75.webp);
box-shadow: 0 0 8px #0008;
}
@media (min-resolution:97dpi) {
#board { background-image: url(images/map150.jpg); }
#tracks { background-image: url(images/tracks150.webp); }
}
#hexes, #pieces, #labels { position: absolute }
.label {
position: absolute;
text-align: center;
font-family: "Source Serif SmText";
font-size: 10px;
width: 70px;
line-height: 1em;
color: black;
text-shadow: 0 0 2px white;
}
.label.caps {
font-size: 14px;
font-variant: small-caps;
}
.label.river {
font-size: 14px;
color: #359;
}
.hex {
box-sizing: border-box;
position: absolute;
border-radius: 50%;
border: 4px solid transparent;
}
.hex.action {
border: 4px solid #fff6;
background-color: #fff2;
box-shadow: 0 0 3px #0008;
z-index: 100;
}
.hex.action.stop {
background-color: #f002;
}
.hex.move { background-color: #0a04 !important }
.hex.road { background-color: #8804 !important }
.hex.move.stop, .hex.road.stop { background-color: #f006 !important }
.hex.f_range { background-color: #05a6 !important }
.hex.a_range { background-color: #b326 !important }
.hex.p_range { background-color: #8286 !important }
#hexes.p1hq .hex.p1hq { background-color: #05a4 }
#hexes.p2hq .hex.p2hq { background-color: #b324 }
#hexes.p1zoc .hex.p1zoi { background-color: #05a4 }
#hexes.p1zoc .hex.p1zoc { background-color: #05a8 }
#hexes.p2zoc .hex.p2zoi { background-color: #b324 }
#hexes.p2zoc .hex.p2zoc { background-color: #b328 }
.large {
position: absolute;
background-size: 84px auto;
width: 42px;
height: 42px;
}
.small {
position: absolute;
background-size: 34px auto;
width: 34px;
height: 34px;
}
.large, .small {
transition-property: top, left;
transition-duration: 500ms;
transition-timing-function: ease;
border-width: 2px;
border-style: solid;
box-shadow: 0 0 0 1px #444, 0 0 4px #0008;
}
.large.action, .small.action {
box-shadow: 0 0 0 1px #444, 0 0 0 4px white;
}
.large.selected, .small.selected {
box-shadow: 0 0 0 1px #444, 0 0 0 3px mediumblue;
}
.large.target, .small.target {
box-shadow: 0 0 0 1px #444, 0 0 0 3px black;
}
.large.support, .small.support {
box-shadow: 0 0 0 1px #444, 0 0 0 3px green;
}
.large.selected.action, .small.selected.action {
box-shadow: 0 0 0 1px #444, 0 0 0 3px mediumblue, 0 0 0 5px white;
}
.large.target.action, .small.target.action {
box-shadow: 0 0 0 1px #444, 0 0 0 3px black, 0 0 0 6px white;
}
.hex.tip {
border: 5px solid yellow;
z-index: 200;
}
div.french.tip, div.anglo.tip, div.prussian.tip {
box-shadow: 0 0 0 4px yellow;
z-index: 200;
}
#arrow {
opacity: 80%;
position: absolute;
top: 1559px;
left: 36px;
width: 50px;
z-index: 300;
pointer-events: none;
height: 50px;
background-size: cover;
background-image: url(images/arrow.svg);
transform-origin: 25px 50px;
filter: drop-shadow(0 0 3px white);
}
#arrow.r0 { transform: rotate(30deg) }
#arrow.r1 { transform: rotate(90deg) }
#arrow.r2 { transform: rotate(150deg) }
#arrow.r3 { transform: rotate(210deg) }
#arrow.r4 { transform: rotate(270deg) }
#arrow.r5 { transform: rotate(330deg) }
.marker { border-color: hsl(199,65%,85%) hsl(199,55%,50%) hsl(199,55%,50%) hsl(199,65%,85%) }
.large.french, .small.french { border-color: hsl(199,85%,90%) hsl(199,75%,70%) hsl(199,75%,70%) hsl(199,85%,90%) }
.large.anglo, .small.anglo { border-color: hsl(0,0%,90%) hsl(0,0%,70%) hsl(0,0%,70%) hsl(0,0%,90%) }
.large.prussian, .small.prussian { border-color: hsl(202,10%,70%) hsl(202,10%,50%) hsl(202,10%,50%) hsl(202,10%,70%) }
.large.french { background-image: url(images/sheet_french1_75.webp) }
.large.anglo { background-image: url(images/sheet_anglo1_75.webp) }
.large.prussian { background-image: url(images/sheet_prussian1_75.webp) }
.large.marker { background-image: url(images/sheet_misc_75.webp) }
.small.french { background-image: url(images/sheet_french2_75.webp) }
.small.anglo { background-image: url(images/sheet_anglo2_75.webp) }
.small.prussian { background-image: url(images/sheet_prussian2_75.webp) }
@media (min-resolution:97dpi) {
.large.french { background-image: url(images/sheet_french1_150.webp) }
.large.anglo { background-image: url(images/sheet_anglo1_150.webp) }
.large.prussian { background-image: url(images/sheet_prussian1_150.webp) }
.large.marker { background-image: url(images/sheet_misc_150.webp) }
.small.french { background-image: url(images/sheet_french2_150.webp) }
.small.anglo { background-image: url(images/sheet_anglo2_150.webp) }
.small.prussian { background-image: url(images/sheet_prussian2_150.webp) }
}
.large.y1 { background-position: -0px -0px }
.large.y2 { background-position: -0px -42px }
.large.y3 { background-position: -0px -84px }
.large.y4 { background-position: -0px -126px }
.large.y5 { background-position: -0px -168px }
.large.y6 { background-position: -0px -210px }
.large.y7 { background-position: -0px -252px }
.large.y8 { background-position: -0px -294px }
.large.y9 { background-position: -0px -336px }
.large.y10 { background-position: -0px -378px }
.large.y11 { background-position: -0px -420px }
.large.flip.y1 { background-position: -42px -0px }
.large.flip.y2 { background-position: -42px -42px }
.large.flip.y3 { background-position: -42px -84px }
.large.flip.y4 { background-position: -42px -126px }
.large.flip.y5 { background-position: -42px -168px }
.large.flip.y6 { background-position: -42px -210px }
.large.flip.y7 { background-position: -42px -252px }
.large.flip.y8 { background-position: -42px -294px }
.large.flip.y9 { background-position: -42px -336px }
.large.flip.y10 { background-position: -42px -378px }
.large.flip.y11 { background-position: -42px -420px }
.small.y1 { background-position: 0px 0px }
.small.y2 { background-position: 0px -34px }
.small.y3 { background-position: 0px -68px }
.small.y4 { background-position: 0px -102px }
.small.y5 { background-position: 0px -136px }
.small.y6 { background-position: 0px -170px }
#log .dice {
display: inline-block;
vertical-align: -3px;
width: 12px;
height: 12px;
background-size: 600% 100%;
background-repeat: no-repeat;
background-image: url(images/die_black_pips.svg);
background-color: gold;
border: 1px solid black;
}
.d0 { background-position: -100% 0 }
.d1 { background-position: 0% 0; }
.d2 { background-position: 20% 0; }
.d3 { background-position: 40% 0; }
.d4 { background-position: 60% 0; }
.d5 { background-position: 80% 0; }
.d6 { background-position: 100% 0; }
body.shift .large:hover { transform: scale(2) }
body.shift .small:hover { transform: scale(2) }
body.shift .large.french:hover { background-image: url(images/sheet_french1_150.webp) }
body.shift .large.anglo:hover { background-image: url(images/sheet_anglo1_150.webp) }
body.shift .large.prussian:hover { background-image: url(images/sheet_prussian1_150.webp) }
body.shift .large.marker:hover { background-image: url(images/sheet_misc_150.webp) }
body.shift .small.french:hover { background-image: url(images/sheet_french2_150.webp) }
body.shift .small.anglo:hover { background-image: url(images/sheet_anglo2_150.webp) }
body.shift .small.prussian:hover { background-image: url(images/sheet_prussian2_150.webp) }
|