main { background-color: slategray; } aside { background-color: gainsboro; } header { background-color: silver; } body.Persia header.your_turn { background-color: skyblue; } body.Greece header.your_turn { background-color: salmon; } #role_Persia { background-color: skyblue; } #role_Greece { background-color: salmon; } #log { background-color: gainsboro; } #log div { padding-left: 20px; text-indent: -12px; } #log .tip { text-decoration: underline; } #log .st { font-weight: bold; background-color: gray; color: white; text-align: center; padding: 3px; } #log .hr { background-color: darkgray; margin: 9px 0; padding: 0; height: 1px; min-height: 0; } #log .G { color: #c00; } #log .P { color: #00e; } #hand.greek { background-color: rosybrown; border-radius: 10px; } #turn_info { background-color: silver; } #deck_info { text-align: center; } /* CARDS */ .card.enabled { cursor: pointer; } .card.disabled { filter: grayscale(100%); } .hand { margin-top: 15px; padding: 15px; display: flex; flex-wrap: wrap; justify-content: center; min-height: 370px; } @media (max-width: 800px) { .hand { min-width: 1210px; } } .hand .card { margin: 10px; } .card { background-size: cover; background-repeat: no-repeat; background-color: #f0e0d0; width: 250px; height: 350px; border-radius: 12px; display: none; box-shadow: 1px 1px 5px rgba(0,0,0,0.5); } .card.show { display: block; } #turn_info .card { margin: 10px auto 5px auto; width: 125px; height: 175px; border-radius: 10px; } #tooltip { pointer-events: none; position: fixed; z-index: 600; right: 230px; top: 60px; } @media (max-width: 800px) { #tooltip { top: 0; left: 0; right: 0; bottom: 0; margin: auto; } } @media (max-height: 700px) { #turn_info .card { display: none; } } /* CARD ACTION POPUP MENU */ #popup { min-width: 150px; box-shadow: 0px 8px 16px 0px #0004; } body.Greece #popup { background-color: hsl(12, 40%, 93%) } body.Greece #popup li.title { color: black; background-color: hsl(12, 40%, 78%) } body.Greece #popup li.action:hover { background-color: hsl(12, 40%, 43%) } body.Persia #popup { background-color: hsl(216, 21%, 86%) } body.Persia #popup li.title { color: black; background-color: hsl(216, 21%, 71%) } body.Persia #popup li.action:hover { background-color: hsl(216, 21%, 31%) } /* MAP WITH ARMIES, FLEETS, AND MARKERS */ #map.greek, #map.greek > div { transform: rotate(180deg); transform-origin: center; } #map { position: relative; width: 1240px; height: 878px; background-size: cover; box-shadow: 0px 1px 10px rgba(0,0,0,0.5); margin: 0 auto; } #map { background-image: url("map75.jpg") } @media (min-resolution: 97dpi) { #map { background-image: url("map150.jpg") } } #map.hide_markers > div { visibility: hidden; } .port { position: absolute; border-radius: 50%; z-index: 1; } .port.enabled { box-shadow: 0 0 20px 2px white, inset 0 0 5px 2px white; z-index: 3; } .persian_city { position: absolute; border-radius: 50%; z-index: 4; } .persian_city.enabled { box-shadow: 0 0 10px 2px white, inset 0 0 5px 2px white; z-index: 100; } .greek_city { position: absolute; border-radius: 5px; z-index: 4; } .greek_city.enabled { box-shadow: 0 0 10px 4px white, inset 0 0 5px 4px white; z-index: 100; } .greek_army, .greek_fleet, .persian_army, .persian_fleet, .marker { transition-property: top, left; transition-duration: 700ms; transition-timing-function: ease; z-index: 2; } .greek_army, .greek_fleet, .persian_army, .persian_fleet, .marker, #bridge { position: absolute; display: none; background-repeat: no-repeat; background-size: cover; } .marker { background-image: url("icons/black_cube.png"); } .greek_army { background-image: url("icons/red_cube.png"); } .greek_fleet { background-image: url("icons/red_disk.png"); } .persian_army { background-image: url("icons/blue_cube.png"); } .persian_fleet { background-image: url("icons/blue_disk.png"); } .greek_army, .persian_army, .marker { width: 22px; height: 26px; } .greek_fleet, .persian_fleet { width: 26px; height: 20px; } .campaign_1 { left: 1074px; top: 368px; } .campaign_2 { left: 1077px; top: 402px; } .campaign_3 { left: 1078px; top: 435px; } .campaign_4 { left: 1077px; top: 467px; } .campaign_5 { left: 1072px; top: 501px; } .vp_g6 { left: 181px; top: 228px; } .vp_g5 { left: 168px; top: 259px; } .vp_g4 { left: 157px; top: 291px; } .vp_g3 { left: 148px; top: 323px; } .vp_g2 { left: 142px; top: 357px; } .vp_g1 { left: 138px; top: 389px; } .vp_0 { left: 138px; top: 425px; } .vp_p1 { left: 138px; top: 460px; } .vp_p2 { left: 142px; top: 493px; } .vp_p3 { left: 148px; top: 526px; } .vp_p4 { left: 157px; top: 559px; } .vp_p5 { left: 168px; top: 590px; } .vp_p6 { left: 181px; top: 622px; } .greek_fleet.show, .persian_fleet.show, .greek_army.show, .persian_army.show, .marker.show, #bridge.show { display: block; filter: drop-shadow(1px 2px 3px rgba(0,0,0,0.5)); } .greek_fleet.selected, .persian_fleet.selected, .greek_army.selected, .persian_army.selected { filter: brightness(150%) drop-shadow(0 0 3px white); } #bridge.destroy { filter: brightness(150%) drop-shadow(0 0 10px skyblue); } #bridge.build { filter: brightness(150%) drop-shadow(0 0 10px white); opacity: 0.5; } #darius { left: 77px; top: 562px; } #xerxes { left: 61px; top: 717px; } #artemisia { left: 167px; top: 799px; } #miltiades { left: 1179px; top: 305px; } #themistocles { left: 1156px; top: 153px; } #leonidas { left: 1068px; top: 41px; } #bridge { background-image: url("icons/bridge.png"); width: 48px; height: 36px; left: 932px; top: 655px; } /* CARD IMAGES */ .card_back { background-image: url('cards.1x/card_back.jpg'); } .card_1 { background-image: url('cards.1x/card_en_01.jpg'); } .card_2 { background-image: url('cards.1x/card_en_02.jpg'); } .card_3 { background-image: url('cards.1x/card_en_03.jpg'); } .card_4 { background-image: url('cards.1x/card_en_04.jpg'); } .card_5 { background-image: url('cards.1x/card_en_05.jpg'); } .card_6 { background-image: url('cards.1x/card_en_06.jpg'); } .card_7 { background-image: url('cards.1x/card_en_07.jpg'); } .card_8 { background-image: url('cards.1x/card_en_08.jpg'); } .card_9 { background-image: url('cards.1x/card_en_09.jpg'); } .card_10 { background-image: url('cards.1x/card_en_10.jpg'); } .card_11 { background-image: url('cards.1x/card_en_11.jpg'); } .card_12 { background-image: url('cards.1x/card_en_12.jpg'); } .card_13 { background-image: url('cards.1x/card_en_13.jpg'); } .card_14 { background-image: url('cards.1x/card_en_14.jpg'); } .card_15 { background-image: url('cards.1x/card_en_15.jpg'); } .card_16 { background-image: url('cards.1x/card_en_16.jpg'); } @media (min-resolution: 97dpi) { .card_back { background-image: url('cards.2x/card_back.jpg'); } .card_1 { background-image: url('cards.2x/card_en_01.jpg'); } .card_2 { background-image: url('cards.2x/card_en_02.jpg'); } .card_3 { background-image: url('cards.2x/card_en_03.jpg'); } .card_4 { background-image: url('cards.2x/card_en_04.jpg'); } .card_5 { background-image: url('cards.2x/card_en_05.jpg'); } .card_6 { background-image: url('cards.2x/card_en_06.jpg'); } .card_7 { background-image: url('cards.2x/card_en_07.jpg'); } .card_8 { background-image: url('cards.2x/card_en_08.jpg'); } .card_9 { background-image: url('cards.2x/card_en_09.jpg'); } .card_10 { background-image: url('cards.2x/card_en_10.jpg'); } .card_11 { background-image: url('cards.2x/card_en_11.jpg'); } .card_12 { background-image: url('cards.2x/card_en_12.jpg'); } .card_13 { background-image: url('cards.2x/card_en_13.jpg'); } .card_14 { background-image: url('cards.2x/card_en_14.jpg'); } .card_15 { background-image: url('cards.2x/card_en_15.jpg'); } .card_16 { background-image: url('cards.2x/card_en_16.jpg'); } }