Web Dev Solutions

Catalin Mititiuc

From 578b42fbcfa15661bbaa36f99e7513cffbd20780 Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Fri, 28 Jun 2024 09:22:10 -0700 Subject: Fix vectorAdd calculation; draw grid hexes after buildings --- public/assets/css/map.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'public/assets/css') 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; -- cgit v1.2.3