summaryrefslogtreecommitdiff
path: root/play.css
blob: a0d709435d83aed2e37575126ce48efff29654da (plain)
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
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
main { background-color: slategray; }

body.Democrat header.your_turn { background-color: hsl(206, 85%, 75%); }
body.Communist header.your_turn { background-color: hsl(355, 70%, 75%); }

#role_Democrat { background-color: hsl(206, 80%, 80%); }
#role_Communist { background-color: hsl(355, 70%, 80%); }

/* LOG */

#log { font-variant-numeric: tabular-nums; }

#log .die {
	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: #fff;
	border: 1px solid #444;
}

#log .d0 { background-position: -100% 0 }
#log .d1 { background-position: 0% 0; }
#log .d2 { background-position: 20% 0; }
#log .d3 { background-position: 40% 0; }
#log .d4 { background-position: 60% 0; }
#log .d5 { background-position: 80% 0; }
#log .d6 { background-position: 100% 0; }

#log .h1 { font-weight: bold; padding-top:2px; padding-bottom:2px; text-align: center; }
#log .h2 { padding-top:2px; padding-bottom:2px; text-align: center; }
#log .h3 { text-align: center; }
#log .h4 { text-decoration: underline; }
#log .h5 { text-decoration: underline; }

#log { background-color: floralwhite }
#log .h1 { background-color: tan }
#log .h2 { background-color: wheat }
#log .h2.dem { background-color: hsl(206, 85%, 80%); }
#log .h2.com { background-color: hsl(355, 70%, 80%); }

#log div { padding-left: 20px; text-indent: -12px; }
#log div.i { padding-left: 32px; text-indent: -12px; }
#log div.ii { padding-left: 44px; text-indent: -12px; }

#log .card_name { font-style: italic; }
#log .card_name:hover { text-decoration: underline; }
#log .space_tip:hover { cursor: pointer; text-decoration: underline; }

/* MAP */

#mapwrap {
	width: 1650px;
	height: 2550px;
}

#map {
	width: 1650px;
	height: 2550px;
	background-size: 1650px 2550px;
	box-shadow: 0px 1px 10px #0008;
}

#map { background-image: url("map75.avif") }
@media (min-resolution: 97dpi) {
	#map { background-image: url("map150.avif") }
}

/* SPACES */

.space {
	position: absolute;
	box-sizing: border-box;
	border: 4px solid transparent;
}

.space.action {
	border-color: white;
	box-shadow: 0 0 0 1px black, inset 0 0 0 1px black;
}

.space.East_Germany.action { border-color: white; }
.space.Poland.action { border-color: yellow; }
.space.Czechoslovakia.action { border-color: lightgreen; }
.space.Hungary.action { border-color: gold; }
.space.Romania.action { border-color: peachpuff; }
.space.Bulgaria.action { border-color: palegreen; }

.space.tip {
	border-color: lime;
	box-shadow: 0 0 0 1px black, inset 0 0 0 1px black;
}

/* MARKERS */

/* node tools/gencolors.js */
.marker { background-color: #ffffff; border-color: #eeeeee #8a8a8a #8a8a8a #eeeeee; box-shadow: 0 0 0 1px #323232, 1px 2px 4px #0008; }
.demInfl.ctl { background-color: #c4e2f6; border-color: #e6ffff #8ca8bb #8ca8bb #e6ffff; box-shadow: 0 0 0 1px #274050, 1px 2px 4px #0008; }
.comInfl.ctl { background-color: #c1272d; border-color: #e74e4c #9c0009 #9c0009 #e74e4c; box-shadow: 0 0 0 1px #520000, 1px 2px 4px #0008; }
#marker_action_round.dem { background-color: #147fc0; border-color: #44a3e6 #005c9b #005c9b #44a3e6; box-shadow: 0 0 0 1px #001a54, 1px 2px 4px #0008; }
#marker_action_round.com { background-color: #c1272d; border-color: #e74e4c #9c0009 #9c0009 #e74e4c; box-shadow: 0 0 0 1px #520000, 1px 2px 4px #0008; }
#marker_vp, #marker_turn { background-color: #fadb04; border-color: #ffff51 #c0a100 #c0a100 #ffff51; box-shadow: 0 0 0 1px #563600, 1px 2px 4px #0008; }
#marker_com_tst { background-color: #f26649; border-color: #ff9273 #c2391c #c2391c #ff9273; box-shadow: 0 0 0 1px #640000, 1px 2px 4px #0008; }
#marker_dem_tst { background-color: #c4e2f4; border-color: #e6ffff #8ca8ba #8ca8ba #e6ffff; box-shadow: 0 0 0 1px #27404f, 1px 2px 4px #0008; }

#event_reminder_list {
	position: absolute;
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	top: 1650px;
	left: 600px;
	width: 200px;
}

.marker {
	position: absolute;
	pointer-events: none;
	width: 45px;
	height: 45px;
	border: 2px solid;
	border-color: #eee #bbb #bbb #eee;
	box-shadow: 0 0 0 1px #444;
	transition-property: top, left;
	transition-duration: 700ms;
	transition-timing-function: ease;
}

.demInfl { background-color: #fff; }
.comInfl { background-color: #fff; }
.demInfl.ctl { background-color: #147fc0; }
.comInfl.ctl { background-color: #c1272d; }

.demInfl.v1 { background-image: url(markers75/di1.png) }
.demInfl.v2 { background-image: url(markers75/di2.png) }
.demInfl.v3 { background-image: url(markers75/di3.png) }
.demInfl.v4 { background-image: url(markers75/di4.png) }
.demInfl.v5 { background-image: url(markers75/di5.png) }
.demInfl.v6 { background-image: url(markers75/di6.png) }
.demInfl.v7 { background-image: url(markers75/di7.png) }
.demInfl.v8 { background-image: url(markers75/di8.png) }
.demInfl.ctl.v1 { background-image: url(markers75/dc1.png) }
.demInfl.ctl.v2 { background-image: url(markers75/dc2.png) }
.demInfl.ctl.v3 { background-image: url(markers75/dc3.png) }
.demInfl.ctl.v4 { background-image: url(markers75/dc4.png) }
.demInfl.ctl.v5 { background-image: url(markers75/dc5.png) }
.demInfl.ctl.v6 { background-image: url(markers75/dc6.png) }
.demInfl.ctl.v7 { background-image: url(markers75/dc7.png) }
.demInfl.ctl.v8 { background-image: url(markers75/dc8.png) }

.comInfl.v1 { background-image: url(markers75/ci1.png) }
.comInfl.v2 { background-image: url(markers75/ci2.png) }
.comInfl.v3 { background-image: url(markers75/ci3.png) }
.comInfl.v4 { background-image: url(markers75/ci4.png) }
.comInfl.v5 { background-image: url(markers75/ci5.png) }
.comInfl.v6 { background-image: url(markers75/ci6.png) }
.comInfl.v7 { background-image: url(markers75/ci7.png) }
.comInfl.v8 { background-image: url(markers75/ci8.png) }
.comInfl.ctl.v1 { background-image: url(markers75/cc1.png) }
.comInfl.ctl.v2 { background-image: url(markers75/cc2.png) }
.comInfl.ctl.v3 { background-image: url(markers75/cc3.png) }
.comInfl.ctl.v4 { background-image: url(markers75/cc4.png) }
.comInfl.ctl.v5 { background-image: url(markers75/cc5.png) }
.comInfl.ctl.v6 { background-image: url(markers75/cc6.png) }
.comInfl.ctl.v7 { background-image: url(markers75/cc7.png) }
.comInfl.ctl.v8 { background-image: url(markers75/cc8.png) }

#marker_turn { background-image: url(markers75/turn.png) }
#marker_action_round.dem { background-image: url(markers75/action_round_blue.png) }
#marker_action_round.com { background-image: url(markers75/action_round_red.png) }
#marker_stability_track { background-image: url(markers75/ussr_stability_track.png) }
#marker_dem_tst { background-image: url(markers75/ts_blue.png) }
#marker_com_tst { background-image: url(markers75/ts_red.png) }
#marker_vp { background-image: url(markers75/vp.png) }

/* EVENT MARKERS */

.marker.aside {
	position: static;
}

#event_2 { background-image: url(markers75/event_solidarity_legalized.png) }
#event_9 { background-image: url(markers75/event_the_wall.png) }
#event_15 { background-image: url(markers75/event_honecker.png) }
#event_24 { background-image: url(markers75/event_st_nicholas.png) }
#event_26 { background-image: url(markers75/event_helsinki.png) }
#event_39 { background-image: url(markers75/event_eco_glasnost.png) }
#event_48 { background-image: url(markers75/event_we_are_the_people.png) }
#event_49 { background-image: url(markers75/event_foreign_currency.png) }
#event_53 { background-image: url(markers75/event_li_peng.png) }
#event_58 { background-image: url(markers75/event_austria_hungary.png) }
#event_59 { background-image: url(markers75/event_grenz_truppen.png) }
#event_65 { background-image: url(markers75/event_pres_visit.png) }
#event_69 { background-image: url(markers75/event_systematization.png) }
#event_70 { background-image: url(markers75/event_securitate.png) }
#event_73 { background-image: url(markers75/event_laszlo_tokes.png) }
#event_97 { background-image: url(markers75/event_tyrant.png) }
#event_100 { background-image: url(markers75/event_stand_fast.png) }
#event_101 { background-image: url(markers75/event_elena.png) }
#event_104 { background-image: url(markers75/event_nye_party.png) }

/* Solidarity legalized */
#event_2 { top: 265px; left: 778px; }

/* The Wall */
#event_9 { top: 175px; left: 216px; }

/* CARD PANELS */

.panel {
	background-color: #607080;
	max-width: 1650px;
	margin: 24px auto;
}

.panel_header {
	background-color: #506070;
	color: white;
	font-weight: bold;
	padding: 3px;
	text-align: center;
}

.panel_body {
	margin-top: 3px;
	display: flex;
	flex-wrap: wrap;
	padding: 16px;
	gap: 16px;
	min-height: 350px;
}

.panel:has(.panel_body:empty) {
	display: none;
}

#scoring_card_panel {
	display: flex;
	flex-direction: column; 
	width: 100%; 
}

#scoring_card_panel .card_row {
	display: flex;
	gap: 10px;
}


/* CARD IMAGES */

#tooltip {
	position: fixed;
	pointer-events: none;
	z-index: 600;
	right: 240px;
	top: 60px;
}

.card {
	background-size: cover;
	background-repeat: no-repeat;
	background-color: #fffde9;
	width: 250px;
	height: 350px;
	border-radius: 16px;
	box-shadow: 0 0 0 1px #444, 1px 2px 4px #0004;
}

.card.action {
	box-shadow: 0 0 0 1px #444, 0 0 0 4px white;
}

.card.selected {
	box-shadow: 0 0 0 1px #444, 0 0 0 4px yellow;
}

.card.event_0 { background-image: url(cards100/event_back.avif) }
.card.event_1 { background-image: url(cards100/event_1.avif) }
.card.event_2 { background-image: url(cards100/event_2.avif) }
.card.event_3 { background-image: url(cards100/event_3.avif) }
.card.event_4 { background-image: url(cards100/event_4.avif) }
.card.event_5 { background-image: url(cards100/event_5.avif) }
.card.event_6 { background-image: url(cards100/event_6.avif) }
.card.event_7 { background-image: url(cards100/event_7.avif) }
.card.event_8 { background-image: url(cards100/event_8.avif) }
.card.event_9 { background-image: url(cards100/event_9.avif) }
.card.event_10 { background-image: url(cards100/event_10.avif) }
.card.event_11 { background-image: url(cards100/event_11.avif) }
.card.event_12 { background-image: url(cards100/event_12.avif) }
.card.event_13 { background-image: url(cards100/event_13.avif) }
.card.event_14 { background-image: url(cards100/event_14.avif) }
.card.event_15 { background-image: url(cards100/event_15.avif) }
.card.event_16 { background-image: url(cards100/event_16.avif) }
.card.event_17 { background-image: url(cards100/event_17.avif) }
.card.event_18 { background-image: url(cards100/event_18.avif) }
.card.event_19 { background-image: url(cards100/event_19.avif) }
.card.event_20 { background-image: url(cards100/event_20.avif) }
.card.event_21 { background-image: url(cards100/event_21.avif) }
.card.event_22 { background-image: url(cards100/event_22.avif) }
.card.event_23 { background-image: url(cards100/event_23.avif) }
.card.event_24 { background-image: url(cards100/event_24.avif) }
.card.event_25 { background-image: url(cards100/event_25.avif) }
.card.event_26 { background-image: url(cards100/event_26.avif) }
.card.event_27 { background-image: url(cards100/event_27.avif) }
.card.event_28 { background-image: url(cards100/event_28.avif) }
.card.event_29 { background-image: url(cards100/event_29.avif) }
.card.event_30 { background-image: url(cards100/event_30.avif) }
.card.event_31 { background-image: url(cards100/event_31.avif) }
.card.event_32 { background-image: url(cards100/event_32.avif) }
.card.event_33 { background-image: url(cards100/event_33.avif) }
.card.event_34 { background-image: url(cards100/event_34.avif) }
.card.event_35 { background-image: url(cards100/event_35.avif) }
.card.event_36 { background-image: url(cards100/event_36.avif) }
.card.event_37 { background-image: url(cards100/event_37.avif) }
.card.event_38 { background-image: url(cards100/event_38.avif) }
.card.event_39 { background-image: url(cards100/event_39.avif) }
.card.event_40 { background-image: url(cards100/event_40.avif) }
.card.event_41 { background-image: url(cards100/event_41.avif) }
.card.event_42 { background-image: url(cards100/event_42.avif) }
.card.event_43 { background-image: url(cards100/event_43.avif) }
.card.event_44 { background-image: url(cards100/event_44.avif) }
.card.event_45 { background-image: url(cards100/event_45.avif) }
.card.event_46 { background-image: url(cards100/event_46.avif) }
.card.event_47 { background-image: url(cards100/event_47.avif) }
.card.event_48 { background-image: url(cards100/event_48.avif) }
.card.event_49 { background-image: url(cards100/event_49.avif) }
.card.event_50 { background-image: url(cards100/event_50.avif) }
.card.event_51 { background-image: url(cards100/event_51.avif) }
.card.event_52 { background-image: url(cards100/event_52.avif) }
.card.event_53 { background-image: url(cards100/event_53.avif) }
.card.event_54 { background-image: url(cards100/event_54.avif) }
.card.event_55 { background-image: url(cards100/event_55.avif) }
.card.event_56 { background-image: url(cards100/event_56.avif) }
.card.event_57 { background-image: url(cards100/event_57.avif) }
.card.event_58 { background-image: url(cards100/event_58.avif) }
.card.event_59 { background-image: url(cards100/event_59.avif) }
.card.event_60 { background-image: url(cards100/event_60.avif) }
.card.event_61 { background-image: url(cards100/event_61.avif) }
.card.event_62 { background-image: url(cards100/event_62.avif) }
.card.event_63 { background-image: url(cards100/event_63.avif) }
.card.event_64 { background-image: url(cards100/event_64.avif) }
.card.event_65 { background-image: url(cards100/event_65.avif) }
.card.event_66 { background-image: url(cards100/event_66.avif) }
.card.event_67 { background-image: url(cards100/event_67.avif) }
.card.event_68 { background-image: url(cards100/event_68.avif) }
.card.event_69 { background-image: url(cards100/event_69.avif) }
.card.event_70 { background-image: url(cards100/event_70.avif) }
.card.event_71 { background-image: url(cards100/event_71.avif) }
.card.event_72 { background-image: url(cards100/event_72.avif) }
.card.event_73 { background-image: url(cards100/event_73.avif) }
.card.event_74 { background-image: url(cards100/event_74.avif) }
.card.event_75 { background-image: url(cards100/event_75.avif) }
.card.event_76 { background-image: url(cards100/event_76.avif) }
.card.event_77 { background-image: url(cards100/event_77.avif) }
.card.event_78 { background-image: url(cards100/event_78.avif) }
.card.event_79 { background-image: url(cards100/event_79.avif) }
.card.event_80 { background-image: url(cards100/event_80.avif) }
.card.event_81 { background-image: url(cards100/event_81.avif) }
.card.event_82 { background-image: url(cards100/event_82.avif) }
.card.event_83 { background-image: url(cards100/event_83.avif) }
.card.event_84 { background-image: url(cards100/event_84.avif) }
.card.event_85 { background-image: url(cards100/event_85.avif) }
.card.event_86 { background-image: url(cards100/event_86.avif) }
.card.event_87 { background-image: url(cards100/event_87.avif) }
.card.event_88 { background-image: url(cards100/event_88.avif) }
.card.event_89 { background-image: url(cards100/event_89.avif) }
.card.event_90 { background-image: url(cards100/event_90.avif) }
.card.event_91 { background-image: url(cards100/event_91.avif) }
.card.event_92 { background-image: url(cards100/event_92.avif) }
.card.event_93 { background-image: url(cards100/event_93.avif) }
.card.event_94 { background-image: url(cards100/event_94.avif) }
.card.event_95 { background-image: url(cards100/event_95.avif) }
.card.event_96 { background-image: url(cards100/event_96.avif) }
.card.event_97 { background-image: url(cards100/event_97.avif) }
.card.event_98 { background-image: url(cards100/event_98.avif) }
.card.event_99 { background-image: url(cards100/event_99.avif) }
.card.event_100 { background-image: url(cards100/event_100.avif) }
.card.event_101 { background-image: url(cards100/event_101.avif) }
.card.event_102 { background-image: url(cards100/event_102.avif) }
.card.event_103 { background-image: url(cards100/event_103.avif) }
.card.event_104 { background-image: url(cards100/event_104.avif) }
.card.event_105 { background-image: url(cards100/event_105.avif) }
.card.event_106 { background-image: url(cards100/event_106.avif) }
.card.event_107 { background-image: url(cards100/event_107.avif) }
.card.event_108 { background-image: url(cards100/event_108.avif) }
.card.event_109 { background-image: url(cards100/event_109.avif) }
.card.event_110 { background-image: url(cards100/event_110.avif) }

.card.power_0 { background-image: url(cards100/power_back.avif) }
.card.power_1 { background-image: url(cards100/power_1_6.avif) }
.card.power_2 { background-image: url(cards100/power_1_6.avif) }
.card.power_3 { background-image: url(cards100/power_1_6.avif) }
.card.power_4 { background-image: url(cards100/power_1_6.avif) }
.card.power_5 { background-image: url(cards100/power_1_6.avif) }
.card.power_6 { background-image: url(cards100/power_1_6.avif) }
.card.power_7 { background-image: url(cards100/power_7_8.avif) }
.card.power_8 { background-image: url(cards100/power_7_8.avif) }
.card.power_9 { background-image: url(cards100/power_9_10.avif) }
.card.power_10 { background-image: url(cards100/power_9_10.avif) }
.card.power_11 { background-image: url(cards100/power_11_14.avif) }
.card.power_12 { background-image: url(cards100/power_11_14.avif) }
.card.power_13 { background-image: url(cards100/power_11_14.avif) }
.card.power_14 { background-image: url(cards100/power_11_14.avif) }
.card.power_15 { background-image: url(cards100/power_15_18.avif) }
.card.power_16 { background-image: url(cards100/power_15_18.avif) }
.card.power_17 { background-image: url(cards100/power_15_18.avif) }
.card.power_18 { background-image: url(cards100/power_15_18.avif) }
.card.power_19 { background-image: url(cards100/power_19_20.avif) }
.card.power_20 { background-image: url(cards100/power_19_20.avif) }
.card.power_21 { background-image: url(cards100/power_21_22.avif) }
.card.power_22 { background-image: url(cards100/power_21_22.avif) }
.card.power_23 { background-image: url(cards100/power_23_26.avif) }
.card.power_24 { background-image: url(cards100/power_23_26.avif) }
.card.power_25 { background-image: url(cards100/power_23_26.avif) }
.card.power_26 { background-image: url(cards100/power_23_26.avif) }
.card.power_27 { background-image: url(cards100/power_27_30.avif) }
.card.power_28 { background-image: url(cards100/power_27_30.avif) }
.card.power_29 { background-image: url(cards100/power_27_30.avif) }
.card.power_30 { background-image: url(cards100/power_27_30.avif) }
.card.power_31 { background-image: url(cards100/power_31_33.avif) }
.card.power_32 { background-image: url(cards100/power_31_33.avif) }
.card.power_33 { background-image: url(cards100/power_31_33.avif) }
.card.power_34 { background-image: url(cards100/power_34_36.avif) }
.card.power_35 { background-image: url(cards100/power_34_36.avif) }
.card.power_36 { background-image: url(cards100/power_34_36.avif) }
.card.power_37 { background-image: url(cards100/power_37.avif) }
.card.power_38 { background-image: url(cards100/power_38.avif) }
.card.power_39 { background-image: url(cards100/power_39.avif) }
.card.power_40 { background-image: url(cards100/power_40.avif) }
.card.power_41 { background-image: url(cards100/power_41.avif) }
.card.power_42 { background-image: url(cards100/power_42.avif) }
.card.power_43 { background-image: url(cards100/power_43.avif) }
.card.power_44 { background-image: url(cards100/power_44.avif) }
.card.power_45 { background-image: url(cards100/power_45.avif) }
.card.power_46 { background-image: url(cards100/power_46.avif) }
.card.power_47 { background-image: url(cards100/power_47.avif) }
.card.power_48 { background-image: url(cards100/power_48.avif) }
.card.power_49 { background-image: url(cards100/power_49.avif) }
.card.power_50 { background-image: url(cards100/power_50.avif) }
.card.power_51 { background-image: url(cards100/power_51.avif) }
.card.power_52 { background-image: url(cards100/power_52.avif) }