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 div.i { padding-left: 32px; text-indent: -12px; } #log .h1 { background-color: steelblue; color: white; font-weight: bold; } #log .L { background-color: pink; } #log .Y { background-color: gainsboro; } #log .h3 { background-color: lightsteelblue; } #log .h4 { font-style: italic; text-decoration: underline; } #log .tip:hover { text-decoration: underline; cursor: pointer; } .hand { margin: 25px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; min-height: 280px; } @media (max-width: 800px) { .hand { min-width: 1638px; } } .card { background-size: cover; background-repeat: no-repeat; width: 180px; height: 280px; border-radius: 12px; box-shadow: 0 0 0 1px #444, 1px 1px 4px #0008; 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; transition: height 100ms, padding 100ms; height: 80px; padding: 12px 0; } .role_info .card { margin: 0 auto; } .role:hover .role_info { height: 280px; } @media (max-height: 600px) { .role:not(:hover) .role_info { display: none; } } @media (max-height: 900px) { #turn_info { display: none; } .role_info { height: 48px; padding: 8px 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; } #svgmap path, #svgmap rect { fill: green; stroke-width: 4px; fill-opacity: 0.5; opacity: 0; } #svgmap #area_France { fill: gold; stroke: gold; stroke-width: 8px; } #svgmap #area_Calais { fill: white; stroke: white; stroke-width: 8px; } #svgmap #area_Scotland { fill: firebrick; } #svgmap #area_English_Channel, #svgmap #area_Irish_Sea, #svgmap #area_North_Sea { fill: steelblue; } #svgmap .where { opacity: 1; fill: gold; } #svgmap .battle { opacity: 1; fill: indigo; } #svgmap .highlight { opacity: 1; cursor: pointer; } #svgmap .tip { opacity: 1; stroke-opacity: 1; stroke: yellow; stroke-dasharray: 8 4; fill: none; } #map.hide_blocks #blocks { visibility: hidden; } .border { position: absolute; width: 24px; height: 24px; border-radius: 50%; text-align: center; line-height: 24px; font-size: 16px; font-weight: bold; color: #000c; background-color: #535a26; } .border.sea { background-color: #ecb30c; } .border.major { background-color: #cbc183; } .border.minor { background-color: #946127; } .border.river { background-color: #91a1a9; } .border.Lancaster { background-color: brown; color: #fed; } .border.York { background-color: #fdfefc; color: #ae2e24; } /* BLOCKS */ body.shift .block.known:hover { transform: scale(2) !important; transition: 100ms; z-index: 100; } #battle > .block { position: relative; } #blocks > .block { position: absolute; } .block { width: 62px; height: 62px; background-size: 700% 900%; background-repeat: no-repeat; border: 3px solid black; box-shadow: 0 0 2px 1px #0002; } .block.highlight { cursor: pointer; } .block.Lancaster { background-color: #b04244; border-color: #93262d; } .block.York { border-color: #ccc; background-color: #eee; } .block.Rebel { border-color: #444; background-color: #555; } .block.highlight { border-color: white; } .block.selected { border-color: yellow; } .hit .block.highlight { border-color: black; } .block.moved { filter: grayscale(50%) brightness(90%); } .block.battle { opacity: 0; pointer-events: none; } .block:hover { z-index: 1; } .block.r1 { transform: rotate(-90deg); } .block.r2 { transform: rotate(-180deg); } .block.r3 { transform: rotate(-270deg); } .block { transition-property: top, left, transform, opacity; transition-duration: 700ms, 700ms, 250ms, 250ms; transition-timing-function: ease, ease, ease, linear; } /* BATTLE BOARD */ #battle_header { background-color: #a03f2c; color: #fff0c0; } #battle_message { background-color: #e5ddd0; } #battle { background-color: hsl(52 26% 53%); } #FR, #ER { background-color: hsl(52 26% 43%); } /* 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:-62px 0px} .known.block_13{background-position:-124px 0px} .known.block_14{background-position:-186px 0px} .known.block_15{background-position:-248px 0px} .known.block_16{background-position:-310px 0px} .known.block_17{background-position:-372px 0px} .known.block_21{background-position:0px -62px} .known.block_22{background-position:-62px -62px} .known.block_23{background-position:-124px -62px} .known.block_24{background-position:-186px -62px} .known.block_25{background-position:-248px -62px} .known.block_26{background-position:-310px -62px} .known.block_27{background-position:-372px -62px} .known.block_31{background-position:0px -124px} .known.block_32{background-position:-62px -124px} .known.block_33{background-position:-124px -124px} .known.block_34{background-position:-186px -124px} .known.block_35{background-position:-248px -124px} .known.block_36{background-position:-310px -124px} .known.block_37{background-position:-372px -124px} .known.block_41{background-position:0px -186px} .known.block_42{background-position:-62px -186px} .known.block_43{background-position:-124px -186px} .known.block_44{background-position:-186px -186px} .known.block_45{background-position:-248px -186px} .known.block_46{background-position:-310px -186px} .known.block_47{background-position:-372px -186px} .known.block_51{background-position:0px -248px} .known.block_52{background-position:-62px -248px} .known.block_53{background-position:-124px -248px} .known.block_54{background-position:-186px -248px} .known.block_55{background-position:-248px -248px} .known.block_56{background-position:-310px -248px} .known.block_57{background-position:-372px -248px} .known.block_61{background-position:0px -310px} .known.block_62{background-position:-62px -310px} .known.block_63{background-position:-124px -310px} .known.block_64{background-position:-186px -310px} .known.block_65{background-position:-248px -310px} .known.block_66{background-position:-310px -310px} .known.block_67{background-position:-372px -310px} .known.block_71{background-position:0px -372px} .known.block_72{background-position:-62px -372px} .known.block_73{background-position:-124px -372px} .known.block_74{background-position:-186px -372px} .known.block_75{background-position:-248px -372px} .known.block_76{background-position:-310px -372px} .known.block_77{background-position:-372px -372px} .known.block_81{background-position:0px -434px} .known.block_82{background-position:-62px -434px} .known.block_83{background-position:-124px -434px} .known.block_84{background-position:-186px -434px} .known.block_85{background-position:-248px -434px} .known.block_86{background-position:-310px -434px} .known.block_87{background-position:-372px -434px} .known.block_91{background-position:0px -496px} .known.block_92{background-position:-62px -496px} .known.block_93{background-position:-124px -496px} .known.block_94{background-position:-186px -496px} .known.block_95{background-position:-248px -496px} .known.block_96{background-position:-310px -496px} .known.block_97{background-position:-372px -496px}