index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
Diffstat (limited to 'style.css')
-rw-r--r-- | style.css | 38 |
1 files changed, 30 insertions, 8 deletions
@@ -8,14 +8,21 @@ body { svg { background-color: darkgray; flex-basis: 100%; - /* transform: rotate(-90deg); - transform-origin: center; */ /* max-height: 50vh; */ /* max-height: 100vw; */ } svg text { user-select: none; + font-size: 4px; + fill: white; + stroke: black; + stroke-width: 0.2px; + font-weight: bold; + transform: translateY(6px); + font-family: monospace; + text-anchor: middle; + /* display: none; */ } div#content { @@ -27,6 +34,7 @@ div#content { max-height: 100vh; flex-direction: column; /* padding: 2px; */ + position: relative; } #content > div:first-of-type { @@ -34,6 +42,23 @@ div#content { border-bottom: 1px solid gray; } +#content > div { + display: none; +} + +#content input[type="checkbox"].visible { + position: absolute; + right: 0; +} + +#content:has(input[type="checkbox"].visible:checked) > div { + display: block; +} + +#content:has(input[type="checkbox"].visible:checked) div#record-sheet { + display: flex; +} + #record-sheet { /* max-height: 100%; */ overflow-y: auto; @@ -73,13 +98,14 @@ div#content { } svg > defs > #point { - fill: transparent; + fill: teal; + fill-opacity: 0.5; stroke: black; stroke-width: 0.5px; } use[href="#point"] { - opacity: 0; + opacity: 0.2; } use[href="#point"].active { @@ -90,10 +116,6 @@ g#points { transform: translate(19px, 31px) scale(4); } -g#test { - transform: scale(2); -} - #background { fill: #bacae3; } |