Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-06-28 09:22:10 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-06-28 09:22:10 -0700
commit578b42fbcfa15661bbaa36f99e7513cffbd20780 (patch)
treed863d33fc51a46ec8abfa42e9ad08f8ffe740d11 /public/assets/css/map.css
parent7364c01efe774b4f48a3f6c32a2648dab028b6b4 (diff)
Fix vectorAdd calculation; draw grid hexes after buildings
Diffstat (limited to 'public/assets/css/map.css')
-rw-r--r--public/assets/css/map.css4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/assets/css/map.css b/public/assets/css/map.css
index 38d8f23..af1028e 100644
--- a/public/assets/css/map.css
+++ b/public/assets/css/map.css
@@ -16,7 +16,7 @@ text {
use[href="#hex"] {
opacity: 0.25;
- fill: transparent;
+ fill: purple;
fill-opacity: 0.5;
stroke-width: 0.5px;
stroke: black;
@@ -236,7 +236,7 @@ g[data-y]:nth-child(odd) {
transform: scale(var(--scale));
}
-[data-x]:hover use[href="#hex"] {
+[data-x]:hover use[href="#hex"], [data-q][data-r][data-s][data-t]:hover use[href="#hex"] {
opacity: 1;
fill: orange;
stroke: black;