html, body { height: 100%; margin: 0; } #map-container { width: calc(100% - 316px); height: 100%; position: relative; } #map { width: 100%; height: 100%; } #detail-map { width: 100%; height: 200px; } #list-container { position: absolute; right: 0; top: 0; z-index: 810; height: 100%; width: 316px; overflow: auto; /* filter: drop-shadow(0 0 2px #000); */ } #btn-show-map { margin: 8px; } #btn-show-list { position: absolute; top: 8px; right: 8px; z-index: 810; } #info svg { width: 1.2rem; height: 1.2rem; position: absolute; top: 12px; right: 12px; fill: rgba(var(--bs-success-rgb), var(--bs-link-opacity, 1)); } .card { margin: 8px; } .card img { height: 200px; object-fit: cover; /* no-img fallback */ line-height: 200px; background: #666; color: white; text-align: center; font-weight: 100; font-size: 24px; } .card:hover { border-color: green; } .pin svg { filter: drop-shadow(0 0 5px #888); width: 100%; height: 100%; } .pin.selected { z-index: 800 !important; } .pin.selected svg { filter: drop-shadow(0 0 5px yellow); } .pin.later { fill-opacity: 0; } /* badge */ .badge { color: black; } .badge.inv { color: white; } .group-dot { display: inline-block; border-radius: 50%; border: .5px solid black; width: 1em; height: 1em; } #spin { z-index: 820; } #card-template { display: none; } #detail img { /* max-width: 100%; */ object-fit: cover; width: 100%; max-height: 600px; } #detail audio { width: 100%; } /* responsive toggle */ #btn-show-map, #btn-show-list { display: none; } @media(max-width: 600px) { #btn-show-map, #btn-show-list { display: unset; } #map-container, #list-container { width: 100%; } .hidden-tab { display: none; } .card img { height: calc(100vw * 2/3); line-height: calc((100vw - 20px) * 2/3); } }