index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
author | Catalin Mititiuc <webdevcat@proton.me> | 2024-07-03 11:10:46 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-07-03 11:10:46 -0700 |
commit | 3bce4a6ed62277a4c3a53541ceb0b0ac273b717a (patch) | |
tree | aa5b69e2db895938038d7eaffb5fa95ddd0b2fd8 /public/assets/css | |
parent | ae21d408d1f9f8f4a34e777c3ea708c6b1245064 (diff) |
Add building height labels
Diffstat (limited to 'public/assets/css')
-rw-r--r-- | public/assets/css/map.css | 3 | ||||
-rw-r--r-- | public/assets/css/radial.css | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/public/assets/css/map.css b/public/assets/css/map.css index 24b6e31..d1386ab 100644 --- a/public/assets/css/map.css +++ b/public/assets/css/map.css @@ -443,11 +443,12 @@ g[data-y="76"] { --i: 76; } fill-opacity: 0.2; } -.elevation { +text.elevation { font-family: sans-serif; font-weight: bold; font-size: 6pt; text-anchor: middle; user-select: none; pointer-events: none; + fill: black; } diff --git a/public/assets/css/radial.css b/public/assets/css/radial.css index d9636de..b7fd145 100644 --- a/public/assets/css/radial.css +++ b/public/assets/css/radial.css @@ -59,7 +59,7 @@ use[href="#hex"] { stroke-linecap: square; } -.building [class*="elevation"] { +.building [class*="elevation-"] { display: none; } @@ -76,7 +76,8 @@ use[href="#hex"] { fill: #999; } -[data-view-elevation="-1"] .building .elevation-basement { +[data-view-elevation="-1"] .building .elevation-basement, +[data-view-elevation="-1"] .elevation-basement + text.elevation { display: inline; } |