Turn off the image maps

This commit is contained in:
Catalin Constantin Mititiuc 2024-04-14 13:27:38 -07:00
parent 0aef8a6401
commit 44feb23b19
3 changed files with 8 additions and 6 deletions

View File

@ -13,8 +13,10 @@ text {
use[href="#hex"] { use[href="#hex"] {
opacity: 1; opacity: 1;
fill: transparent; fill: transparent;
fill-opacity: 0.2; fill-opacity: 0.5;
stroke-width: 0.5px; stroke-width: 0.5px;
stroke: darkgray;
/* stroke-opacity: 0.2; */
} }
use[href="#hex"]:hover, use[href="#hex"].hover use[href="#hex"]:hover, use[href="#hex"].hover
@ -214,9 +216,9 @@ g[data-y]:nth-child(even) {
} }
[data-x]:hover use[href="#hex"] { [data-x]:hover use[href="#hex"] {
--scale: 0.97; --scale: 0.95;
fill: orange; fill: orange;
stroke: orangered; stroke: black;
} }
[data-x]:hover use[href*="#t-"] { [data-x]:hover use[href*="#t-"] {

View File

@ -31,9 +31,9 @@
<symbol id="n0" viewBox="0 0 18 22" width="18" height="22"><use href="#numbers"/></symbol> <symbol id="n0" viewBox="0 0 18 22" width="18" height="22"><use href="#numbers"/></symbol>
</defs> </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="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"/> <image id="map3" class="map-scans" href="scans/map3.jpg" width="2284" height="1518"/>
</g> </g>

Before

Width:  |  Height:  |  Size: 77 KiB

After

Width:  |  Height:  |  Size: 77 KiB