Web Dev Solutions

Catalin Mititiuc

body { margin: 0; max-height: 100vh; display: flex; overflow: hidden; } svg { background-color: darkgray; flex-basis: 100%; /* transform: rotate(-90deg); transform-origin: center; */ /* max-height: 50vh; */ /* max-height: 100vw; */ } svg text { user-select: none; } div#content { display: flex; /* display: none; */ border-left: 1px solid gray; flex-basis: 0; /* overflow: scroll; */ max-height: 100vh; flex-direction: column; /* padding: 2px; */ } #content > div:first-of-type { padding: 2px; border-bottom: 1px solid gray; } #record-sheet { /* max-height: 100%; */ overflow-y: auto; display: flex; flex-direction: column; /* display: none; */ background-color: gray; } #record-sheet > div { /* padding: 0 2px; */ overflow-y: auto; /* border: 1px solid black; */ } #record-sheet > div > p { margin: 0; margin-top: 0px; margin-bottom: 1px; padding: 6px 2px; background-color: lightgray; } #record-sheet > div > div { /* border: 1px solid black; */ margin-bottom: 1px; padding: 6px 4px; /* border-radius: 4px; */ } #record-sheet > div:last-of-type { margin-top: 2px; } #record-sheet > div > div:last-of-type { margin-bottom: 0; } svg > defs > #point { fill: transparent; stroke: black; stroke-width: 0.5px; } use[href="#point"] { opacity: 0; } use[href="#point"].active { opacity: 1; } g#points { transform: translate(19px, 31px) scale(4); } g#test { transform: scale(2); } #background { fill: #bacae3; } #map2 { transform: rotate(0.1deg); } #map3 { transform: rotate(0.1deg); } image.map-scans { /* transform: scale(1.39, 1.407) rotate(0.07deg); */ /* opacity: 0.33; */ } #panel { display: none; position: absolute; right: 0; background-color: white; border: 1px solid black; padding: 2px; } #panel fieldset label { display: block; text-align: right; } circle.counter { stroke: transparent; stroke-width: 0.5in; } circle.counter[data-troop-allegiance="liao"] { fill: green; } circle.counter[data-troop-allegiance="davion"] { fill: red; } text.counter { font-size: 80px; font-weight: bold; stroke: black; fill: white; stroke-width: 2px; font-family: sans-serif; cursor: default; pointer-events: none; } rect#map { fill: black; opacity: 0; /* fill-opacity: 0; stroke: red; stroke-width: 4px; */ } polygon.firing-arc { opacity: 0.1; fill: black; /* fill: transparent; stroke-width: 2px; stroke: black; */ } button.set-firing-arc img { vertical-align: middle; pointer-events: none; } line.firing-arc { stroke: blue; opacity: 0.1; } .sight-line { stroke: black; stroke-width: 3px; } .soldier-record { display: inline-block; position: relative; white-space: nowrap; background-color: white; } image#img1 { transform: scale(3.41) rotate(-0.15deg); /* opacity: 0.33; */ } .wall { fill: none; stroke: red; stroke-width: 7px; opacity: 0.7; } #asterisk { font-size: 30; } img.logo { width: 100px; margin: 0 auto; display: block; } div.soldier-record.selected { background-color: khaki; } rect#debug-view-box { /* stroke: red; stroke-width: 20px; */ fill: blue; fill-opacity: 0.2; } @media (width >= 1800px) { #record-sheet { flex-direction: row; /* gap: 2px; */ } #record-sheet > div > p { margin-top: 0; } #record-sheet > div { /* max-height: unset; */ overflow-y: unset; height: min-content; } #record-sheet div:last-of-type { margin-top: 0; } #record-sheet > div:first-of-type > div { /* margin-left: 1px; */ margin-right: 1px; } #record-sheet > div:last-of-type > div { margin-left: 1px; /* margin-right: 1px; */ } }