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
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
|
/* STYLESHEET FOR RED FLAG OVER PARIS */
main { background-color: dimgray; }
header { background-color: gainsboro; }
#role_Commune { background-color: hsl(359, 62%, 75%); }
#role_Versailles { background-color: hsl(208, 45%, 75%); }
body.Commune header.your_turn { background-color: hsl(359, 62%, 70%); }
body.Versailles header.your_turn { background-color: hsl(208, 45%, 70%); }
#log { background-color: #f7f4e1; }
#log .h1 { background-color: #dcd7af; font-weight: bold; padding:2px 0; text-align: center; }
#log .h2 { background-color: #dcd7af; padding: 0; text-align: center; }
#log .h3 { text-decoration: underline #575a53; }
#log > .i { padding-left: 20px; }
#log .tip { font-style: italic }
#log .tip:hover { cursor: pointer; text-decoration: underline; }
#log div { padding-left: 20px; text-indent: -12px; }
#log div.i { padding-left: 32px; text-indent: -12px; }
#log img.c { height: 15px; vertical-align: -3px }
#log img.d { height: 15px; vertical-align: -3px }
#log img.m { height: 17px; vertical-align: -5px }
#log img.s { height: 16px; vertical-align: -4px }
#log span.institutional { font-weight: bold; color: #793 }
#log span.public_opinion { font-weight: bold; color: #d82 }
#log span.forts { font-weight: bold; color: #577 }
#log span.paris { font-weight: bold; color: #757 }
.role_extra {
float: right;
}
.action {
cursor: pointer;
}
/* PANELS */
.panel_grid {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin: 20px;
gap: 20px;
}
#final, #hand, #discard, #set_aside, #red_objective, #blue_objective {
min-height: 350px;
min-width: 250px;
}
#hand_panel { width: clamp(290px, 1100px, 100%) }
body.censorship #hand_panel { width: clamp(290px, 1370px, 100%) }
#final_panel { width: clamp(290px, 560px, 100%) }
#set_aside_panel { width: clamp(290px, 830px, 100%) }
#red_objective_header { background-color: hsl(359, 20%, 28%); }
#blue_objective_header { background-color: hsl(208, 14%, 26%); }
#red_objective { background-color: hsl(359, 10%, 36%); }
#blue_objective { background-color: hsl(208, 7%, 33%); }
.panel {
background-color: #555;
box-shadow: 3px 3px 9px #0008;
}
.panel_header {
background-color: #444;
color: white;
user-select: none;
font-weight: bold;
text-align: center;
padding: 3px 1em;
}
.panel_body {
display: flex;
justify-content: start;
flex-wrap: wrap;
padding: 20px;
gap: 20px;
}
/* CARDS */
.card {
background-size: cover;
background-repeat: no-repeat;
width: 250px;
height: 350px;
border-radius: 16px;
box-shadow: 2px 2px 6px #0008;
}
#tooltip {
position: fixed;
z-index: 100;
right: 240px;
top: 60px;
}
/* MAP */
#mapwrap {
box-shadow: 3px 3px 9px #0008;
width: 1500px;
height: 1050px;
margin-bottom: 30px;
}
#map {
display: block;
width: 1500px;
height: 1050px;
background-image: url(map75.jpg);
background-size: 1500px 1050px;
}
@media (min-resolution: 97dpi) {
#map {
background-image: url(map150.jpg);
}
}
.space {
position: absolute;
box-sizing: border-box;
border: 4px solid transparent;
}
.space.action {
border: 4px solid white;
background-color: #fff8;
}
.space.selected {
border: 4px dashed yellow;
}
.piece {
pointer-events: none;
position: absolute;
background-size: cover;
background-repeat: no-repeat;
filter: drop-shadow(0px 2px 3px #0008);
transition-property: top, left;
transition-duration: 1s;
transition-timing-function: ease;
}
.piece.action {
pointer-events: auto;
filter:
drop-shadow(0 -2px 0 white)
drop-shadow(0 2px 0 white)
drop-shadow(-2px 0 0 white)
drop-shadow(2px 0 0 white)
}
.piece.selected {
filter:
drop-shadow(0 -2px 0 yellow)
drop-shadow(0 2px 0 yellow)
drop-shadow(-2px 0 0 yellow)
drop-shadow(2px 0 0 yellow)
}
.card.action {
box-shadow: 0 0 0 3px white;
}
.card.selected {
box-shadow: 0 0 0 3px yellow;
}
.piece.cube { width: 35px; height: 38px; }
.piece.disc { width: 50px; height: 40px; }
.piece.cylinder { width: 50px; height: 50px; }
.piece.pawn { width: 35px; height: 60px; }
.piece.cube.red { background-image:url(pieces/red_cube.svg) }
.piece.cube.blue { background-image:url(pieces/blue_cube.svg) }
.piece.disc.red { background-image:url(pieces/red_disc.svg) }
.piece.disc.blue { background-image:url(pieces/blue_disc.svg) }
.piece.cylinder.red { background-image:url(pieces/red_cylinder.svg) }
.piece.cylinder.blue { background-image:url(pieces/blue_cylinder.svg) }
.piece.cylinder.orange { background-image:url(pieces/orange_cylinder.svg) }
.piece.cylinder.purple { background-image:url(pieces/purple_cylinder.svg) }
.piece.pawn { background-image:url(pieces/pawn.svg) }
#round_marker { top: 965px; }
#round_marker.round1 { left: 623px; }
#round_marker.round2 { left: 709px; }
#round_marker.round3 { left: 805px; }
#round_marker.round4 { left: 897px; }
#blue_momentum { top: 278px; }
#blue_momentum.m0 { top: 300px; left: 712px; }
#blue_momentum.m1 { left: 630px; }
#blue_momentum.m2 { left: 510px; }
#blue_momentum.m3 { left: 360px; }
#red_momentum { top: 278px; }
#red_momentum.m0 { top: 273px; left: 742px; }
#red_momentum.m1 { left: 820px; }
#red_momentum.m2 { left: 950px; }
#red_momentum.m3 { left: 1095px; }
#political_vp { top: 175px; }
#military_vp { top: 225px; }
.vp0 { left: 465px; }
.vp1 { left: 517px; }
.vp2 { left: 570px; }
.vp3 { left: 622px; }
.vp4 { left: 674px; }
.vp5 { left: 726px; }
.vp6 { left: 778px; }
.vp7 { left: 830px; }
.vp8 { left: 882px; }
.vp9 { left: 934px; }
.vp10 { left: 987px; }
/* CARD IMAGES */
.card_strategy_back{background-image:url(cards.1x/strategy_42.jpg)}
.card_objective_back{background-image:url(cards.1x/objective_13.jpg)}
.card_1{background-image:url(cards.1x/strategy_1.jpg)}
.card_2{background-image:url(cards.1x/strategy_2.jpg)}
.card_3{background-image:url(cards.1x/strategy_3.jpg)}
.card_4{background-image:url(cards.1x/strategy_4.jpg)}
.card_5{background-image:url(cards.1x/strategy_5.jpg)}
.card_6{background-image:url(cards.1x/strategy_6.jpg)}
.card_7{background-image:url(cards.1x/strategy_7.jpg)}
.card_8{background-image:url(cards.1x/strategy_8.jpg)}
.card_9{background-image:url(cards.1x/strategy_9.jpg)}
.card_10{background-image:url(cards.1x/strategy_10.jpg)}
.card_11{background-image:url(cards.1x/strategy_11.jpg)}
.card_12{background-image:url(cards.1x/strategy_12.jpg)}
.card_13{background-image:url(cards.1x/strategy_13.jpg)}
.card_14{background-image:url(cards.1x/strategy_14.jpg)}
.card_15{background-image:url(cards.1x/strategy_15.jpg)}
.card_16{background-image:url(cards.1x/strategy_16.jpg)}
.card_17{background-image:url(cards.1x/strategy_17.jpg)}
.card_18{background-image:url(cards.1x/strategy_18.jpg)}
.card_19{background-image:url(cards.1x/strategy_19.jpg)}
.card_20{background-image:url(cards.1x/strategy_20.jpg)}
.card_21{background-image:url(cards.1x/strategy_21.jpg)}
.card_22{background-image:url(cards.1x/strategy_22.jpg)}
.card_23{background-image:url(cards.1x/strategy_23.jpg)}
.card_24{background-image:url(cards.1x/strategy_24.jpg)}
.card_25{background-image:url(cards.1x/strategy_25.jpg)}
.card_26{background-image:url(cards.1x/strategy_26.jpg)}
.card_27{background-image:url(cards.1x/strategy_27.jpg)}
.card_28{background-image:url(cards.1x/strategy_28.jpg)}
.card_29{background-image:url(cards.1x/strategy_29.jpg)}
.card_30{background-image:url(cards.1x/strategy_30.jpg)}
.card_31{background-image:url(cards.1x/strategy_31.jpg)}
.card_32{background-image:url(cards.1x/strategy_32.jpg)}
.card_33{background-image:url(cards.1x/strategy_33.jpg)}
.card_34{background-image:url(cards.1x/strategy_34.jpg)}
.card_35{background-image:url(cards.1x/strategy_35.jpg)}
.card_36{background-image:url(cards.1x/strategy_36.jpg)}
.card_37{background-image:url(cards.1x/strategy_37.jpg)}
.card_38{background-image:url(cards.1x/strategy_38.jpg)}
.card_39{background-image:url(cards.1x/strategy_39.jpg)}
.card_40{background-image:url(cards.1x/strategy_40.jpg)}
.card_41{background-image:url(cards.1x/strategy_41.jpg)}
.card_42{background-image:url(cards.1x/objective_1.jpg)}
.card_43{background-image:url(cards.1x/objective_2.jpg)}
.card_44{background-image:url(cards.1x/objective_3.jpg)}
.card_45{background-image:url(cards.1x/objective_4.jpg)}
.card_46{background-image:url(cards.1x/objective_5.jpg)}
.card_47{background-image:url(cards.1x/objective_6.jpg)}
.card_48{background-image:url(cards.1x/objective_7.jpg)}
.card_49{background-image:url(cards.1x/objective_8.jpg)}
.card_50{background-image:url(cards.1x/objective_9.jpg)}
.card_51{background-image:url(cards.1x/objective_10.jpg)}
.card_52{background-image:url(cards.1x/objective_11.jpg)}
.card_53{background-image:url(cards.1x/objective_12.jpg)}
@media (min-resolution:97dpi) {
.card_strategy_back{background-image:url(cards.2x/strategy_42.jpg)}
.card_objective_back{background-image:url(cards.2x/objective_13.jpg)}
.card_1{background-image:url(cards.2x/strategy_1.jpg)}
.card_2{background-image:url(cards.2x/strategy_2.jpg)}
.card_3{background-image:url(cards.2x/strategy_3.jpg)}
.card_4{background-image:url(cards.2x/strategy_4.jpg)}
.card_5{background-image:url(cards.2x/strategy_5.jpg)}
.card_6{background-image:url(cards.2x/strategy_6.jpg)}
.card_7{background-image:url(cards.2x/strategy_7.jpg)}
.card_8{background-image:url(cards.2x/strategy_8.jpg)}
.card_9{background-image:url(cards.2x/strategy_9.jpg)}
.card_10{background-image:url(cards.2x/strategy_10.jpg)}
.card_11{background-image:url(cards.2x/strategy_11.jpg)}
.card_12{background-image:url(cards.2x/strategy_12.jpg)}
.card_13{background-image:url(cards.2x/strategy_13.jpg)}
.card_14{background-image:url(cards.2x/strategy_14.jpg)}
.card_15{background-image:url(cards.2x/strategy_15.jpg)}
.card_16{background-image:url(cards.2x/strategy_16.jpg)}
.card_17{background-image:url(cards.2x/strategy_17.jpg)}
.card_18{background-image:url(cards.2x/strategy_18.jpg)}
.card_19{background-image:url(cards.2x/strategy_19.jpg)}
.card_20{background-image:url(cards.2x/strategy_20.jpg)}
.card_21{background-image:url(cards.2x/strategy_21.jpg)}
.card_22{background-image:url(cards.2x/strategy_22.jpg)}
.card_23{background-image:url(cards.2x/strategy_23.jpg)}
.card_24{background-image:url(cards.2x/strategy_24.jpg)}
.card_25{background-image:url(cards.2x/strategy_25.jpg)}
.card_26{background-image:url(cards.2x/strategy_26.jpg)}
.card_27{background-image:url(cards.2x/strategy_27.jpg)}
.card_28{background-image:url(cards.2x/strategy_28.jpg)}
.card_29{background-image:url(cards.2x/strategy_29.jpg)}
.card_30{background-image:url(cards.2x/strategy_30.jpg)}
.card_31{background-image:url(cards.2x/strategy_31.jpg)}
.card_32{background-image:url(cards.2x/strategy_32.jpg)}
.card_33{background-image:url(cards.2x/strategy_33.jpg)}
.card_34{background-image:url(cards.2x/strategy_34.jpg)}
.card_35{background-image:url(cards.2x/strategy_35.jpg)}
.card_36{background-image:url(cards.2x/strategy_36.jpg)}
.card_37{background-image:url(cards.2x/strategy_37.jpg)}
.card_38{background-image:url(cards.2x/strategy_38.jpg)}
.card_39{background-image:url(cards.2x/strategy_39.jpg)}
.card_40{background-image:url(cards.2x/strategy_40.jpg)}
.card_41{background-image:url(cards.2x/strategy_41.jpg)}
.card_42{background-image:url(cards.2x/objective_1.jpg)}
.card_43{background-image:url(cards.2x/objective_2.jpg)}
.card_44{background-image:url(cards.2x/objective_3.jpg)}
.card_45{background-image:url(cards.2x/objective_4.jpg)}
.card_46{background-image:url(cards.2x/objective_5.jpg)}
.card_47{background-image:url(cards.2x/objective_6.jpg)}
.card_48{background-image:url(cards.2x/objective_7.jpg)}
.card_49{background-image:url(cards.2x/objective_8.jpg)}
.card_50{background-image:url(cards.2x/objective_9.jpg)}
.card_51{background-image:url(cards.2x/objective_10.jpg)}
.card_52{background-image:url(cards.2x/objective_11.jpg)}
.card_53{background-image:url(cards.2x/objective_12.jpg)}
}
|