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-28 12:24:24 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-07-28 12:24:24 -0700 |
commit | 7183511dbf4062535e676bd923856b213d565a52 (patch) | |
tree | 5e2f93756c6477bbb3b651a46dce1fe58f8fec74 /public/assets/css | |
parent | d2e80b341c323d56c6955decc2c4f8ae38228580 (diff) |
Remove prone toggle
Diffstat (limited to 'public/assets/css')
-rw-r--r-- | public/assets/css/map.css | 16 | ||||
-rw-r--r-- | public/assets/css/style.css | 4 |
2 files changed, 2 insertions, 18 deletions
diff --git a/public/assets/css/map.css b/public/assets/css/map.css index 7d7de6f..feda870 100644 --- a/public/assets/css/map.css +++ b/public/assets/css/map.css @@ -78,24 +78,12 @@ g.troop-counter-template text { stroke: none; } -[href="#counter-prone"] { - transform: translate(-5px, 6px); -} - g.clone { stroke: white; stroke-width: 0.5px; stroke-dasharray: 1; } -g.clone [href="#counter-prone"] { - opacity: 0.5; -} - -.removed[href="#counter-prone"] { - opacity: 0.5; -} - g[data-allegiance="defender"].clone { fill: rgb(255, 126, 126); } @@ -505,8 +493,8 @@ use[class^="counter-"] { } g.counter use[class^="counter-"] { - --translateX: calc(var(--x) - 5px); - --translateY: var(--y); + --translateX: calc((var(--x)) * 1.25 - 5px); + --translateY: calc((var(--y)) * 1.25 - 5px); } [data-q][data-r][data-s][data-t] > use[class^="counter-"] { diff --git a/public/assets/css/style.css b/public/assets/css/style.css index af9dd2a..f2eef7b 100644 --- a/public/assets/css/style.css +++ b/public/assets/css/style.css @@ -91,10 +91,6 @@ g.troop-counter-template text { stroke: none; } -g.troop-counter [href="#counter-prone"] { - transform: translate(-5px, 6px); -} - text.counter, #troop-counter text { font-size: 12px; font-weight: bold; |