Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
path: root/public
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
parent7364c01efe774b4f48a3f6c32a2648dab028b6b4 (diff)
Fix vectorAdd calculation; draw grid hexes after buildings
Diffstat (limited to 'public')
-rw-r--r--public/assets/css/map.css4
-rw-r--r--public/assets/images/scenario_template.svg2
2 files changed, 3 insertions, 3 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;
diff --git a/public/assets/images/scenario_template.svg b/public/assets/images/scenario_template.svg
index dc387bb..20798a9 100644
--- a/public/assets/images/scenario_template.svg
+++ b/public/assets/images/scenario_template.svg
@@ -1,8 +1,8 @@
<?xml version="1.0" standalone="no"?>
<svg viewBox="-10 -10 200 300"
xmlns="http://www.w3.org/2000/svg">
- <link xmlns="http://www.w3.org/1999/xhtml" rel="stylesheet" href="../css/map.css" type="text/css" />
<link xmlns="http://www.w3.org/1999/xhtml" rel="stylesheet" href="../css/radial.css" type="text/css" />
+ <link xmlns="http://www.w3.org/1999/xhtml" rel="stylesheet" href="../css/map.css" type="text/css" />
<style>
#background {
stroke: #304b75;