main { background-color: #777; } #roles { background-color: #999; } header { background-color: silver; } header.your_turn { background-color: orange; } #role_Lancaster .role_name { background-color: salmon; } #role_York .role_name { background-color: ghostwhite; } #turn_info { background-color: gainsboro; } .role_vp { float: right; } #log { background-color: ghostwhite; } #log div { padding-left: 20px; text-indent: -12px; } #log .st { background-color: steelblue; color: white; font-weight: bold; } #log .L { background-color: pink; } #log .Y { background-color: gainsboro; } #log .bs { background-color: lightsteelblue; } #log .br { font-style: italic; text-decoration: underline; } .hand { margin: 25px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; min-height: 280px; } .card { background-size: cover; background-repeat: no-repeat; width: 180px; height: 280px; border-radius: 12px; box-shadow: 1px 1px 5px rgba(0,0,0,0.5); transition: 100ms; display: none; } .card.show { display: block; } .card.enabled:hover { transform: translateY(-8px); } .card.enabled { cursor: pointer; } .card.disabled { filter: grayscale(100%); } .role_info { overflow: clip; /* clip dropshadow from filter:grayscale() stacking context */ padding-top: 16px; } .role_info .card { margin: 0 auto 16px auto; } .role_info .card:not(:hover) { margin: 0 auto; height: 96px; border-bottom-right-radius: 0; border-bottom-left-radius: 0; } /* MAP */ #mapwrap { box-shadow: 0px 1px 10px rgba(0,0,0,0.5); width: 1688px; height: 1950px; } #map { width: 1688px; height: 1950px; background-repeat: no-repeat; background-size: cover; } #map { background-image: url("map75.jpg") } @media (min-resolution: 97dpi) { #map { background-image: url("map150.jpg") } } #map svg { position: absolute; } #map svg image { pointer-events: none; } #map svg path.area { fill: green; stroke: green; stroke-width: 20px; fill-opacity: 0.4; stroke-opacity: 0.8; opacity: 0; } #map svg #area_France { fill: white; stroke: white; } #map svg #area_Calais { fill: dodgerblue; stroke: dodgerblue; } #map svg #area_English_Channel { fill: dodgerblue; stroke: dodgerblue; } #map svg #area_Irish_Sea { fill: dodgerblue; stroke: dodgerblue; } #map svg #area_North_Sea { fill: dodgerblue; stroke: dodgerblue; } #map svg path.area.highlight { cursor: pointer; opacity: 1; } #map svg path.area.where { opacity: 1; fill: darkslategray; stroke: darkslategray; } #map svg path.area.where.highlight { stroke: white; } #map.hide_blocks #blocks { visibility: hidden; } /* BLOCKS */ body.shift .block.known:hover { transform: scale(2) !important; transition: 100ms; z-index: 100; } #battle div.block { position: relative; } #map div.block { position: absolute; } div.block { border-radius: 6px; width: 60px; height: 60px; } div.block { background-size: 700% 900%; background-repeat: no-repeat; } div.block { box-shadow: 0px 0px 3px 0px black; } div.block.Lancaster { border: 3px solid brown; background-color: indianred; } div.block.York { border: 3px solid gainsboro; background-color: whitesmoke; } div.block.Rebel { border: 3px solid dimgray; background-color: gray; } div.block.Lancaster.highlight { border-color: white; } div.block.York.highlight { border-color: white; } div.block.Rebel.highlight { border-color: white; } .hit div.block.highlight { border-color: black; box-shadow: 0 0 3px 0px black; } div.block.Lancaster.selected { border-color: yellow; } div.block.York.selected { border-color: yellow; } div.block.Rebel.selected { border-color: yellow; } div.block.highlight { cursor: pointer; box-shadow: 0 0 3px 1px white; } div.block.selected { box-shadow: 0 0 3px 1px yellow; } div.block.moved { filter: grayscale(50%) brightness(85%); } div.block.highlight.moved { filter: grayscale(60%) brightness(95%); } div.block:hover { z-index: 1; } div.block.r1 { transform: rotate(-90deg); } div.block.r2 { transform: rotate(-180deg); } div.block.r3 { transform: rotate(-270deg); } div.block { transition-property: top, left, transform; transition-duration: 700ms, 700ms, 200ms; transition-timing-function: ease; } /* BATTLE BOARD */ #battle { background-color: silver; } #battle_message { background-color: lightsteelblue; } #battle_header { background-color: steelblue; color: white; } #FR, #ER { background-color: #acacac; } /* CARD AND BLOCK IMAGES */ .card, .small_card { background-color: #d3b37b; } .card_back { background-color: black; } .card_back{background-image:url('cards/card_back.jpg')} .card_force_march{background-image:url('cards/card_force_march.jpg')} .card_muster{background-image:url('cards/card_muster.jpg')} .card_piracy{background-image:url('cards/card_piracy.jpg')} .card_plague{background-image:url('cards/card_plague.jpg')} .card_surprise{background-image:url('cards/card_surprise.jpg')} .card_treason{background-image:url('cards/card_treason.jpg')} .card_2{background-image:url('cards/card_2.jpg')} .card_3{background-image:url('cards/card_3.jpg')} .card_4{background-image:url('cards/card_4.jpg')} .known.block{background-image:url(blocks.jpg)} .known.block_11{background-position:0px 0px} .known.block_12{background-position:-60px 0px} .known.block_13{background-position:-120px 0px} .known.block_14{background-position:-180px 0px} .known.block_15{background-position:-240px 0px} .known.block_16{background-position:-300px 0px} .known.block_17{background-position:-360px 0px} .known.block_21{background-position:0px -60px} .known.block_22{background-position:-60px -60px} .known.block_23{background-position:-120px -60px} .known.block_24{background-position:-180px -60px} .known.block_25{background-position:-240px -60px} .known.block_26{background-position:-300px -60px} .known.block_27{background-position:-360px -60px} .known.block_31{background-position:0px -120px} .known.block_32{background-position:-60px -120px} .known.block_33{background-position:-120px -120px} .known.block_34{background-position:-180px -120px} .known.block_35{background-position:-240px -120px} .known.block_36{background-position:-300px -120px} .known.block_37{background-position:-360px -120px} .known.block_41{background-position:0px -180px} .known.block_42{background-position:-60px -180px} .known.block_43{background-position:-120px -180px} .known.block_44{background-position:-180px -180px} .known.block_45{background-position:-240px -180px} .known.block_46{background-position:-300px -180px} .known.block_47{background-position:-360px -180px} .known.block_51{background-position:0px -240px} .known.block_52{background-position:-60px -240px} .known.block_53{background-position:-120px -240px} .known.block_54{background-position:-180px -240px} .known.block_55{background-position:-240px -240px} .known.block_56{background-position:-300px -240px} .known.block_57{background-position:-360px -240px} .known.block_61{background-position:0px -300px} .known.block_62{background-position:-60px -300px} .known.block_63{background-position:-120px -300px} .known.block_64{background-position:-180px -300px} .known.block_65{background-position:-240px -300px} .known.block_66{background-position:-300px -300px} .known.block_67{background-position:-360px -300px} .known.block_71{background-position:0px -360px} .known.block_72{background-position:-60px -360px} .known.block_73{background-position:-120px -360px} .known.block_74{background-position:-180px -360px} .known.block_75{background-position:-240px -360px} .known.block_76{background-position:-300px -360px} .known.block_77{background-position:-360px -360px} .known.block_81{background-position:0px -420px} .known.block_82{background-position:-60px -420px} .known.block_83{background-position:-120px -420px} .known.block_84{background-position:-180px -420px} .known.block_85{background-position:-240px -420px} .known.block_86{background-position:-300px -420px} .known.block_87{background-position:-360px -420px} .known.block_91{background-position:0px -480px} .known.block_92{background-position:-60px -480px} .known.block_93{background-position:-120px -480px} .known.block_94{background-position:-180px -480px} .known.block_95{background-position:-240px -480px} .known.block_96{background-position:-300px -480px} .known.block_97{background-position:-360px -480px}