// @use "sass:math"; @use 'sass:map'; $selectable-color: white; // yellow; $selected-color: yellow; //blue; main { // background-color: rgb(213, 196, 131); background-color: darkolivegreen; } /* MAP */ #mapwrap { width: 1000px; height: 850px; // background-color: #999f85; box-shadow: 1px 2px 4px #0004; } // #map { // background-repeat: no-repeat; // background-size: cover; // width: 1275px; // height: 1650px; // overflow: clip; // } #map { background-repeat: no-repeat; background-size: 100% 100%; width: 1000px; height: 850px; overflow: clip; } #map { background-image: url(images/map75.png); } @media (min-resolution: 97dpi) { #map { background-image: url(images/map100.png); } } #hand { display: flex; flex-direction: row; gap: 8px; margin-top: 16px; padding: 16px; justify-content: center; } .front { position: absolute; box-sizing: border-box; width: 93px; height: 102px; display: flex; flex-direction: column; align-items: center; padding: 4px; // background-color: yellow; // opacity: 0.5; } .front .value { font-weight: bold; font-size: 30px; margin-top: auto; } .front[data-front-id='m'] { width: 104px; height: 114px; } .card { background-size: 100% 100%; // width: 275px; // height: 375px; width: 198px; height: 270px; // border: 1px solid black; border-radius: 5px; box-shadow: 0 0 0 1px #333; } @for $i from 1 through 62 { .card[data-card-id='#{$i}'] { background-image: url('images/cards100/card_#{$i}.png'); } } .card.event { position: absolute; // opacity: 0.5; width: 132px; height: 180px; } .standee { box-sizing: border-box; position: absolute; width: 29px; height: 35px; background-size: cover; background-repeat: no-repeat; border-radius: 4px; box-shadow: 0 0 0 1px #333; transition-property: top, left; transition-duration: 700ms; transition-timing-function: ease; // opacity: 0.6; } .card.action, .front.action, .standee.action { box-shadow: 0 0 0 3px $selectable-color; } .card.action:hover, .front.action:hover, .standee.action:hover { box-shadow: 0 0 0 3px $selected-color; } // .standee.action:hover { // box-shadow: 0 0 0 2px blue; // } @for $i from 0 through 4 { .standee[data-standee-id='#{$i}'] { background-image: url('images/standees/standee_#{$i}.png'); } } #log { background-color: floralwhite; } #log .h1, #log .h2 { font-size: 10px; padding-top: 2px; padding-bottom: 2px; text-align: center; } #log .h1 { background-color: hsl(4, 40%, 73%); } #log .h2 { background-color: hsl(250, 40%, 83%); }