main { background-color: dimgray; } #roles { background-color: gray; } header { background-color: silver; } header.your_turn { background-color: orange; } #role_Red .role_name { background-color: salmon; } #role_Blue .role_name { background-color: skyblue; } #role_Yellow .role_name { background-color: khaki; } #role_Green .role_name { background-color: darkseagreen; } #turn_info { background-color: gainsboro; } .role_vp { float: right; } header.your_turn.player_red { background-color: salmon; } header.your_turn.player_blue { background-color: skyblue; } header.your_turn.player_yellow { background-color: khaki; } header.your_turn.player_green { background-color: darkseagreen; } .action { cursor: pointer; } #mapwrap { width: 2550px; height: 1650px; box-shadow: 0px 1px 10px #0008; margin-bottom: 100px; } #map { width: 2550px; height: 1650px; background-size: cover; background-repeat: no-repeat; background-image: url(map75.jpg); background-color: #e8d792; } #crisis_table { display: none; position: absolute; width: 262px; height: 356px; top: 159px; right: 93px; } body.p2 #crisis_table { display: block; background-image: url(overlay_2p_75.jpg); } body.p3 #crisis_table { display: block; background-image: url(overlay_3p_75.jpg); } body.Solo #.role { display: none } svg { position: absolute; } svg .region, svg .sea { fill: transparent; stroke: transparent; stroke-width: 4px; } svg .region.action, svg .sea.action { fill: white; fill-opacity: 0.3; } body.military svg .region.action { fill: hsl(358, 78%, 51%); } body.senate svg .region.action { fill: hsl(206, 100%, 35%); } body.populace svg .region.action { fill: hsl(44, 80%, 52%); } body.senate svg .region.selected { fill: hsl(206, 100%, 35%); fill-opacity: 0.3; stroke: hsl(206, 100%, 35%); stroke-width: 4px; stroke-dasharray: 8 4; } body.military svg .region.selected { fill: hsl(358, 78%, 51%); fill-opacity: 0.3; stroke: hsl(358, 78%, 51%); stroke-width: 4px; stroke-dasharray: 8 4; } body.military svg .sea.action { fill: hsl(206, 100%, 35%); fill-opacity: 0.25; } #pieces div { position: absolute; transition-property: top, left, transform; transition-duration: 200ms; transition-timing-function: ease; } .support { box-sizing: border-box; width: 54px; height: 54px; border: 4px solid transparent; border-radius: 8px; z-index: 0; display: none; } .support.action { background-color: hsla(44, 80%, 52%, 0.4); border-color: white; display: block; } .support.s0.action { background-color: hsla(206, 100%, 35%, 0.4); } .dice { width: 36px; height: 36px; border-radius: 6px; border-width: 2px; border-style: solid; background-size: 600% 100%; background-repeat: no-repeat; } .dice.d0 { background-position: -100% 0 } .dice.d1 { background-position: 0% 0; } .dice.d2 { background-position: 20% 0; } .dice.d3 { background-position: 40% 0; } .dice.d4 { background-position: 60% 0; } .dice.d5 { background-position: 80% 0; } .dice.d6 { background-position: 100% 0; } .dice.black { background-image: url(images/die_white_pips.svg); background-color: #444; } .dice.white { background-image: url(images/die_black_pips.svg); background-color: #eee; } .dice.black { border-color: #595959 #303030 #303030 #595959; box-shadow: 0 0 0 1px #0c0c0c, 1px 2px 4px #0008; } .dice.white { border-color: #ffffff #b1b1b1 #b1b1b1 #ffffff; box-shadow: 0 0 0 1px #424242, 1px 2px 4px #0008; } /* MAGIC TRACKS */ .governor.s1 { transform: translateX(52px) } .governor.s2 { transform: translateX(104px) } .governor.s3 { transform: translateX(156px) } .governor.s4 { transform: translateX(208px) } .governor.s5 { transform: translate(26px, 52px) } .governor.s6 { transform: translate(78px, 52px) } .governor.s7 { transform: translate(129px, 52px) } .governor.s8 { transform: translate(181px, 52px) } .capital { display: none; box-sizing: border-box; width: 72px; height: 72px; } .capital.action { display: block; border: 5px solid white; box-shadow: 0 0 6px white, inset 0 0 6px black; z-index: 2; } body.p3 #Hispania_NPG { display: block } body.p3 #Africa_NPG { display: block } body.p3 #Aegyptus_NPG { display: block } body.p2 #Britannia_NPG { display: block } body.p2 #Hispania_NPG { display: block } body.p2 #Africa_NPG { display: block } body.p2 #Aegyptus_NPG { display: block } body.p2 #Syria_NPG { display: block } body.p2 #Galatia_NPG { display: block } /* COUNTERS */ .amphitheater, .basilica, .limes { background-color: #efebea; } .red { background-color: #ed1b2f; } .blue { background-color: #a0caec; } .yellow { background-color: #ffe175; } .green { background-color: #80b563; } .alamanni { background-color: #c3bc8e; } .franks { background-color: #9cb4be; } .goths { background-color: #3a9cd6; } .nomads { background-color: #f99d1c; } .sassanids { background-color: #8e5ca6; } .rival_emperor { background-color: #b8b996; } .militia, .legion { background-color: #ffffff; } .neutral { background-color: #e3dedc; } .no_place_governor { background-color: #6e6e6e; } /* :r !node tools/gencolors.js */ .amphitheater, .basilica, .limes { border-color: #fffefd #b2aead #b2aead #fffefd; box-shadow: 0 0 0 1px #444140, 1px 2px 4px #0008; } .red { border-color: #ff5455 #c00000 #c00000 #ff5455; box-shadow: 0 0 0 1px #680000, 1px 2px 4px #0008; } .blue { border-color: #d5ffff #6e96b6 #6e96b6 #d5ffff; box-shadow: 0 0 0 1px #113854, 1px 2px 4px #0008; } .yellow { border-color: #fffe92 #c3a634 #c3a634 #fffe92; box-shadow: 0 0 0 1px #553a00, 1px 2px 4px #0008; } .green { border-color: #ace48f #568837 #568837 #ace48f; box-shadow: 0 0 0 1px #033600, 1px 2px 4px #0008; } .alamanni { border-color: #f7efc0 #928b5f #928b5f #f7efc0; box-shadow: 0 0 0 1px #393204, 1px 2px 4px #0008; } .franks { border-color: #cce5ef #6f868f #6f868f #cce5ef; box-shadow: 0 0 0 1px #1d323a, 1px 2px 4px #0008; } .goths { border-color: #68c6ff #0073ab #0073ab #68c6ff; box-shadow: 0 0 0 1px #002759, 1px 2px 4px #0008; } .nomads { border-color: #ffcf60 #c56c00 #c56c00 #ffcf60; box-shadow: 0 0 0 1px #610700, 1px 2px 4px #0008; } .sassanids { border-color: #b17dca #6d3c83 #6d3c83 #b17dca; box-shadow: 0 0 0 1px #2f0042, 1px 2px 4px #0008; } .rival_emperor { border-color: #eaebc7 #888968 #888968 #eaebc7; box-shadow: 0 0 0 1px #323214, 1px 2px 4px #0008; } .neutral { border-color: #fffefc #a9a4a2 #a9a4a2 #fffefc; box-shadow: 0 0 0 1px #403d3b, 1px 2px 4px #0008; } .militia { border-color: #ffffff #b2b2b2 #b2b2b2 #ffffff; box-shadow: 0 0 0 1px #434343, 1px 2px 4px #0008; } .legion { border-color: #ffffff #b2b2b2 #b2b2b2 #ffffff; box-shadow: 0 0 0 1px #434343, 1px 2px 4px #0008; } .no_place_governor { border-color: #8e8e8e #505050 #505050 #8e8e8e; box-shadow: 0 0 0 1px #191919, 1px 2px 4px #0008; } .red.action { box-shadow: 0 0 0 1px #680000, 0 0 0 4px white; } .blue.action { box-shadow: 0 0 0 1px #113854, 0 0 0 4px white; } .yellow.action { box-shadow: 0 0 0 1px #553a00, 0 0 0 4px white; } .green.action { box-shadow: 0 0 0 1px #033600, 0 0 0 4px white; } .legion.action { box-shadow: 0 0 0 1px #434343, 0 0 0 4px red; } .militia.action { box-shadow: 0 0 0 1px #434343, 0 0 0 4px red; } .alamanni.action { box-shadow: 0 0 0 1px #393204, 0 0 0 4px white; } .franks.action { box-shadow: 0 0 0 1px #1d323a, 0 0 0 4px white; } .goths.action { box-shadow: 0 0 0 1px #002759, 0 0 0 4px white; } .nomads.action { box-shadow: 0 0 0 1px #610700, 0 0 0 4px white; } .sassanids.action { box-shadow: 0 0 0 1px #2f0042, 0 0 0 4px white; } .rival_emperor.action { box-shadow: 0 0 0 1px #323214, 0 0 0 4px white; } .red.selected { box-shadow: 0 0 0 1px #680000, 0 0 0 4px yellow; } .blue.selected { box-shadow: 0 0 0 1px #113854, 0 0 0 4px yellow; } .yellow.selected { box-shadow: 0 0 0 1px #553a00, 0 0 0 4px yellow; } .green.selected { box-shadow: 0 0 0 1px #033600, 0 0 0 4px yellow; } #legion_0 { background-position: 0px 0px } #legion_1 { background-position: -55px 0px } #legion_2 { background-position: -110px 0px } #legion_3 { background-position: -165px 0px } #legion_4 { background-position: -220px 0px } #legion_5 { background-position: -275px 0px } #legion_6 { background-position: -330px 0px } #legion_7 { background-position: -385px 0px } #legion_8 { background-position: -440px 0px } #legion_9 { background-position: 0px -55px } #legion_10 { background-position: -55px -55px } #legion_11 { background-position: -110px -55px } #legion_12 { background-position: -165px -55px } #legion_13 { background-position: -220px -55px } #legion_14 { background-position: -275px -55px } #legion_15 { background-position: -330px -55px } #legion_16 { background-position: -385px -55px } #legion_17 { background-position: -440px -55px } #legion_18 { background-position: 0px -110px } #legion_19 { background-position: -55px -110px } #legion_20 { background-position: -110px -110px } #legion_21 { background-position: -165px -110px } #legion_22 { background-position: -220px -110px } #legion_23 { background-position: -275px -110px } #legion_24 { background-position: -330px -110px } #legion_25 { background-position: -385px -110px } #legion_26 { background-position: -440px -110px } #legion_27 { background-position: 0px -165px } #legion_28 { background-position: -55px -165px } #legion_29 { background-position: -110px -165px } #legion_30 { background-position: -165px -165px } #legion_31 { background-position: -220px -165px } #legion_32 { background-position: -275px -165px } .amphitheater, .basilica, .limes { width: 92px; height: 46px; background-size: 92px 46px; border-radius: 8px; border-width: 2px; border-style: solid; } .militia, .legion, .alamanni, .franks, .goths, .nomads, .sassanids, .rival_emperor, .general, .emperor_turns, .no_place_governor { width: 55px; height: 55px; background-size: 55px 55px; background-repeat: no-repeat; border-radius: 8px; border-width: 2px; border-style: solid; } .general.unavailable { background-size: 330px 55px } .general.unavailable.n1 { background-position: -55px 0 } .general.unavailable.n2 { background-position: -110px 0 } .general.unavailable.n3 { background-position: -165px 0 } .general.unavailable.n4 { background-position: -220px 0 } .general.unavailable.n5 { background-position: -275px 0 } .no_place_governor { display: none; margin: 4px 0 0 4px; width: 58px; height: 58px; background-position: center; border-radius: 0; } .governor, .legacy, .legacy_40 { width: 50px; height: 50px; background-size: 50px 50px; border-radius: 50%; border-width: 2px; border-style: solid; } .governor { z-index: 1 } .governor.unavailable { background-size: 300px 50px } .governor.unavailable.n1 { background-position: -50px 0 } .governor.unavailable.n2 { background-position: -100px 0 } .governor.unavailable.n3 { background-position: -150px 0 } .governor.unavailable.n4 { background-position: -200px 0 } .governor.unavailable.n5 { background-position: -250px 0 } .castra, .quaestor, .mob, .mob_x2, .seat_of_power, .breakaway { pointer-events: none; width: 54px; height: 64px; background-size: 54px 64px; background-color: transparent; box-shadow: none; filter: drop-shadow(1px 1px 6px #0008); } .legion { background-size: 900% 400%; } .no_place_governor { background-image: url(images/no_place_governor.png) } .legion { background-image: url(images/legion_full.png) } .legion.reduced { background-image: url(images/legion_reduced.png) } .amphitheater { background-image: url(images/amphitheater.png) } .basilica { background-image: url(images/basilica.png) } .limes { background-image: url(images/limes.png) } .militia { background-image: url(images/militia.png) } .alamanni { background-image: url(images/alamanni_active.png) } .franks { background-image: url(images/franks_active.png) } .goths { background-image: url(images/goths_active.png) } .nomads { background-image: url(images/nomads_active.png) } .sassanids { background-image: url(images/sassanids_active.png) } .alamanni.inactive { background-image: url(images/alamanni_inactive.png) } .franks.inactive { background-image: url(images/franks_inactive.png) } .goths.inactive { background-image: url(images/goths_inactive.png) } .nomads.inactive { background-image: url(images/nomads_inactive.png) } .sassanids.inactive { background-image: url(images/sassanids_inactive.png) } .neutral.governor { background-image: url(images/neutral_governor.png) } #ardashir { background-image: url(images/ardashir.png) } #cniva { background-image: url(images/cniva.png) } #shapur { background-image: url(images/shapur.png) } #postumus { background-image: url(images/rival_postumus.png) } #priest_king { background-image: url(images/rival_priest_king.png) } #zenobia { background-image: url(images/rival_zenobia.png) } .blue.governor { background-image: url(images/blue_governor.png) } .green.governor { background-image: url(images/green_governor.png) } .red.governor { background-image: url(images/red_governor.png) } .yellow.governor { background-image: url(images/yellow_governor.png) } .blue.legacy { background-image: url(images/blue_legacy.png) } .green.legacy { background-image: url(images/green_legacy.png) } .red.legacy { background-image: url(images/red_legacy.png) } .yellow.legacy { background-image: url(images/yellow_legacy.png) } .blue.legacy_40 { background-image: url(images/blue_legacy_40.png) } .green.legacy_40 { background-image: url(images/green_legacy_40.png) } .red.legacy_40 { background-image: url(images/red_legacy_40.png) } .yellow.legacy_40 { background-image: url(images/yellow_legacy_40.png) } .blue.general { background-image: url(images/blue_general.png) } .green.general { background-image: url(images/green_general.png) } .red.general { background-image: url(images/red_general.png) } .yellow.general { background-image: url(images/yellow_general.png) } .blue.emperor_turns { background-image: url(images/blue_emperor_turns.png) } .green.emperor_turns { background-image: url(images/green_emperor_turns.png) } .red.emperor_turns { background-image: url(images/red_emperor_turns.png) } .yellow.emperor_turns { background-image: url(images/yellow_emperor_turns.png) } .general.unavailable { background-image: url(images/general_numbers.png) } .governor.unavailable { background-image: url(images/governor_numbers.png) } .castra { background-image: url(images/castra.svg) } .quaestor { background-image: url(images/quaestor.svg) } .mob { background-image: url(images/mob.svg) } .mob_x2 { background-image: url(images/mob_x2.svg) } .blue.seat_of_power { background-image: url(images/blue_seat_of_power.svg) } .green.seat_of_power { background-image: url(images/green_seat_of_power.svg) } .red.seat_of_power { background-image: url(images/red_seat_of_power.svg) } .yellow.seat_of_power { background-image: url(images/yellow_seat_of_power.svg) } .blue.breakaway { background-image: url(images/blue_breakaway.svg) } .green.breakaway { background-image: url(images/green_breakaway.svg) } .red.breakaway { background-image: url(images/red_breakaway.svg) } .yellow.breakaway { background-image: url(images/yellow_breakaway.svg) } /* CARDS */ .card { width: 250px; height: 350px; background-size: 250px 350px; background-repeat: no-repeat; border-radius: 16px; box-shadow: 0 0 0 1px #444, 0 0 4px #000; } .card.action { transition: transform 100ms ease; box-shadow: 0 0 0px 3px #fff; transform: translate(0px, 0px); } #played .influence_m1, #played .influence_s1, #played .influence_p1, .card.used { filter: brightness(75%) } #discard .card.action { box-shadow: 0 0 0px 3px #a00; } .card.action:hover { transform: translate(0px, -12px); } #hand, #draw, #discard { min-height: 350px; } .card.event_back{background-image:url(cards.1x/event_back.jpg)} .card.event_1{background-image:url(cards.1x/event_01.jpg)} .card.event_2{background-image:url(cards.1x/event_02.jpg)} .card.event_3{background-image:url(cards.1x/event_03.jpg)} .card.event_4{background-image:url(cards.1x/event_04.jpg)} .card.event_5{background-image:url(cards.1x/event_05.jpg)} .card.event_6{background-image:url(cards.1x/event_06.jpg)} .card.event_7{background-image:url(cards.1x/event_07.jpg)} .card.event_8{background-image:url(cards.1x/event_08.jpg)} .card.event_9{background-image:url(cards.1x/event_09.jpg)} .card.event_10{background-image:url(cards.1x/event_10.jpg)} .card.event_11{background-image:url(cards.1x/event_11.jpg)} .card.event_12{background-image:url(cards.1x/event_12.jpg)} .card.event_13{background-image:url(cards.1x/event_13.jpg)} .card.event_14{background-image:url(cards.1x/event_14.jpg)} .card.event_15{background-image:url(cards.1x/event_15.jpg)} .card.influence_back{background-image:url(cards.1x/influence_back.jpg)} .card.influence_m1{background-image:url(cards.1x/influence_m1.jpg)} .card.influence_m2{background-image:url(cards.1x/influence_m2.jpg)} .card.influence_m3{background-image:url(cards.1x/influence_m3.jpg)} .card.influence_m4{background-image:url(cards.1x/influence_m4.jpg)} .card.influence_p1{background-image:url(cards.1x/influence_p1.jpg)} .card.influence_p2{background-image:url(cards.1x/influence_p2.jpg)} .card.influence_p3{background-image:url(cards.1x/influence_p3.jpg)} .card.influence_p4{background-image:url(cards.1x/influence_p4.jpg)} .card.influence_s1{background-image:url(cards.1x/influence_s1.jpg)} .card.influence_s2{background-image:url(cards.1x/influence_s2.jpg)} .card.influence_s3{background-image:url(cards.1x/influence_s3.jpg)} .card.influence_s4{background-image:url(cards.1x/influence_s4.jpg)} .card.influence_s4b{background-image:url(cards.1x/influence_s4b.jpg)} .card.influence_m2x{background-image:url(cards.1x/influence_m2x.jpg)} .card.influence_m3x{background-image:url(cards.1x/influence_m3x.jpg)} .card.influence_m4x{background-image:url(cards.1x/influence_m4x.jpg)} .card.influence_p2x{background-image:url(cards.1x/influence_p2x.jpg)} .card.influence_p3x{background-image:url(cards.1x/influence_p3x.jpg)} .card.influence_p4x{background-image:url(cards.1x/influence_p4x.jpg)} .card.influence_s2x{background-image:url(cards.1x/influence_s2x.jpg)} .card.influence_s3x{background-image:url(cards.1x/influence_s3x.jpg)} .card.influence_s4x{background-image:url(cards.1x/influence_s4x.jpg)} @media (min-resolution:97dpi) { .card.event_back{background-image:url(cards.2x/event_back.jpg)} .card.event_1{background-image:url(cards.2x/event_01.jpg)} .card.event_2{background-image:url(cards.2x/event_02.jpg)} .card.event_3{background-image:url(cards.2x/event_03.jpg)} .card.event_4{background-image:url(cards.2x/event_04.jpg)} .card.event_5{background-image:url(cards.2x/event_05.jpg)} .card.event_6{background-image:url(cards.2x/event_06.jpg)} .card.event_7{background-image:url(cards.2x/event_07.jpg)} .card.event_8{background-image:url(cards.2x/event_08.jpg)} .card.event_9{background-image:url(cards.2x/event_09.jpg)} .card.event_10{background-image:url(cards.2x/event_10.jpg)} .card.event_11{background-image:url(cards.2x/event_11.jpg)} .card.event_12{background-image:url(cards.2x/event_12.jpg)} .card.event_13{background-image:url(cards.2x/event_13.jpg)} .card.event_14{background-image:url(cards.2x/event_14.jpg)} .card.event_15{background-image:url(cards.2x/event_15.jpg)} .card.influence_back{background-image:url(cards.2x/influence_back.jpg)} .card.influence_m1{background-image:url(cards.2x/influence_m1.jpg)} .card.influence_m2{background-image:url(cards.2x/influence_m2.jpg)} .card.influence_m3{background-image:url(cards.2x/influence_m3.jpg)} .card.influence_m4{background-image:url(cards.2x/influence_m4.jpg)} .card.influence_p1{background-image:url(cards.2x/influence_p1.jpg)} .card.influence_p2{background-image:url(cards.2x/influence_p2.jpg)} .card.influence_p3{background-image:url(cards.2x/influence_p3.jpg)} .card.influence_p4{background-image:url(cards.2x/influence_p4.jpg)} .card.influence_s1{background-image:url(cards.2x/influence_s1.jpg)} .card.influence_s2{background-image:url(cards.2x/influence_s2.jpg)} .card.influence_s3{background-image:url(cards.2x/influence_s3.jpg)} .card.influence_s4{background-image:url(cards.2x/influence_s4.jpg)} .card.influence_s4b{background-image:url(cards.2x/influence_s4b.jpg)} .card.influence_m2x{background-image:url(cards.2x/influence_m2x.jpg)} .card.influence_m3x{background-image:url(cards.2x/influence_m3x.jpg)} .card.influence_m4x{background-image:url(cards.2x/influence_m4x.jpg)} .card.influence_p2x{background-image:url(cards.2x/influence_p2x.jpg)} .card.influence_p3x{background-image:url(cards.2x/influence_p3x.jpg)} .card.influence_p4x{background-image:url(cards.2x/influence_p4x.jpg)} .card.influence_s2x{background-image:url(cards.2x/influence_s2x.jpg)} .card.influence_s3x{background-image:url(cards.2x/influence_s3x.jpg)} .card.influence_s4x{background-image:url(cards.2x/influence_s4x.jpg)} } .influence_m1 + .influence_m1 { margin-left: -180px; } .influence_p1 + .influence_p1 { margin-left: -180px; } .influence_s1 + .influence_s1 { margin-left: -180px; } #played .influence_m1 + .influence_p1 { margin-left: -180px } #played .influence_m1 + .influence_s1 { margin-left: -180px } #played .influence_p1 + .influence_s1 { margin-left: -180px } /* PANELS */ .panel { min-width: 1368px; max-width: 1636px; margin: 12px auto 36px auto; background-color: #555; } .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: 18px; gap: 18px; min-height: 350px; }