Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'public/assets/css/map.css')
-rw-r--r--public/assets/css/map.css16
1 files changed, 2 insertions, 14 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-"] {