Apply styles and map script to manually loaded files

This commit is contained in:
2024-05-15 18:08:24 -07:00
parent bd31e3e4a6
commit 021b8d3a9a
8 changed files with 37 additions and 15 deletions

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" standalone="no"?>
<svg viewBox="-18 -150 2320 3360" 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="/assets/css/map.css" type="text/css"/> -->
<style>
g[data-edge="north"] { --i: -2; }
g[data-edge="south"] { --i: 52; }
@@ -1935,5 +1935,5 @@
</g>
</g>
</g>
<script href="../../map.js"></script>
<script></script>
</svg>

Before

Width:  |  Height:  |  Size: 84 KiB

After

Width:  |  Height:  |  Size: 84 KiB

View File

@@ -91,5 +91,5 @@
</g>
<g class="grid"/>
</g>
<script href="../../map.js" data-cols="33" data-rows="77"></script>
<script data-cols="33" data-rows="77"></script>
</svg>

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@@ -88,5 +88,5 @@
</g>
<g class="grid"/>
</g>
<script href="../../map.js" data-cols="33" data-rows="25"></script>
<script data-cols="33" data-rows="25"></script>
</svg>

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

@@ -86,5 +86,5 @@
<g class="grid"/>
</g>
<script href="../../map.js" data-cols="33" data-rows="50"></script>
<script data-cols="33" data-rows="50"></script>
</svg>

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB