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-26 15:43:53 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-07-26 15:43:53 -0700 |
commit | d3975d3fc519f21b670178a6e52c65edb75360a5 (patch) | |
tree | 630fdc53da38172545988d0487f8945b7c956130 /public/assets | |
parent | 59dfb8d697ebbe499eb00625a91ab2778e3c7534 (diff) |
Fix counters radial dispersal when in grid-top
Diffstat (limited to 'public/assets')
-rw-r--r-- | public/assets/css/map.css | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/public/assets/css/map.css b/public/assets/css/map.css index f5f9dae..461f72f 100644 --- a/public/assets/css/map.css +++ b/public/assets/css/map.css @@ -532,14 +532,15 @@ g.counter use[class^="counter-"] { /* Counters placed on a hex */ [data-q][data-r][data-s][data-t]:hover > g.counter ~ use[class^="counter-"], [data-q][data-r][data-s][data-t].hover > g.counter ~ use[class^="counter-"], -.grid-top use[class^="counter-"] { +.grid-top > g.counter ~ use[class^="counter-"] { x: calc(var(--x) * 2); y: calc(var(--y) * 2); --translateY: -5px; } [data-q][data-r][data-s][data-t]:hover > use[class^="counter-"], -[data-q][data-r][data-s][data-t].hover > use[class^="counter-"] { +[data-q][data-r][data-s][data-t].hover > use[class^="counter-"], +.grid-top > use[class^="counter-"] { x: calc(var(--x) * 1.5); y: calc(var(--y) * 1.5); --translateY: -5px; |