Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-04-14 13:27:38 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-04-14 13:27:38 -0700
commit44feb23b193a86b05383e31e3f267995119f8fde (patch)
treeb07af09562ae849d263853d7d8a06bd6b3cfbda3
parent0aef8a6401230976e567bfd9b0bef56a51d88d34 (diff)
Turn off the image maps
-rw-r--r--public/map.css8
-rw-r--r--public/map.svg4
-rw-r--r--public/style.css2
3 files changed, 8 insertions, 6 deletions
diff --git a/public/map.css b/public/map.css
index ec5983b..04442ab 100644
--- a/public/map.css
+++ b/public/map.css
@@ -13,8 +13,10 @@ text {
use[href="#hex"] {
opacity: 1;
fill: transparent;
- fill-opacity: 0.2;
+ fill-opacity: 0.5;
stroke-width: 0.5px;
+ stroke: darkgray;
+ /* stroke-opacity: 0.2; */
}
use[href="#hex"]:hover, use[href="#hex"].hover
@@ -214,9 +216,9 @@ g[data-y]:nth-child(even) {
}
[data-x]:hover use[href="#hex"] {
- --scale: 0.97;
+ --scale: 0.95;
fill: orange;
- stroke: orangered;
+ stroke: black;
}
[data-x]:hover use[href*="#t-"] {
diff --git a/public/map.svg b/public/map.svg
index 990e554..0c752c6 100644
--- a/public/map.svg
+++ b/public/map.svg
@@ -31,9 +31,9 @@
<symbol id="n0" viewBox="0 0 18 22" width="18" height="22"><use href="#numbers"/></symbol>
</defs>
- <rect id="background" x="-1" y="-1" width="2287" height="3087"/>
+ <rect id="background" x="-18" y="-10" width="2326" height="3087"/>
- <g id="image-maps">
+ <g style="display: none;" id="image-maps">
<image id="map2" class="map-scans" href="scans/map2.jpg" width="2284" height="1518"/>
<image id="map3" class="map-scans" href="scans/map3.jpg" width="2284" height="1518"/>
</g>
diff --git a/public/style.css b/public/style.css
index d63bdb9..2d5a40e 100644
--- a/public/style.css
+++ b/public/style.css
@@ -434,4 +434,4 @@ img.logo {
margin-left: 1px;
/* margin-right: 1px; */
}
-} \ No newline at end of file
+}