From 68e6b5c0a6d73791fbbf27596b2cdbd3e680360c Mon Sep 17 00:00:00 2001 From: Mischa Untaga <99098079+MischaU8@users.noreply.github.com> Date: Sat, 21 Oct 2023 16:09:56 +0200 Subject: new map layout --- play.html | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 61 insertions(+), 1 deletion(-) (limited to 'play.html') diff --git a/play.html b/play.html index 0323043..c91b316 100644 --- a/play.html +++ b/play.html @@ -50,7 +50,34 @@ main { background-color: dimgray } height: 1101px; background-size: 1500px 1101px; background-position: center; - background-image: url(map.svg); + background-image: url(map.svg?v=3); +} + +#map svg { + position: absolute; +} + +#map svg image { + pointer-events: none; +} + +#map svg path.area { + fill-opacity: 0; + fill: white; +} +#map svg path.area.where { + fill-opacity: 0.4; + fill: darkslategray; +} +#map svg path.area.highlight { + cursor: pointer; + fill-opacity: 0.4; + fill: white; +} +#map svg path.area.tip { + stroke: yellow; + stroke-width: 40; + stroke-dasharray: 80 40; } /* SPACES */ @@ -307,6 +334,39 @@ main { background-color: dimgray }
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
-- cgit v1.2.3