91 lines
2.7 KiB
XML
91 lines
2.7 KiB
XML
<?xml version="1.0" standalone="no"?>
|
|
<svg viewBox="-150 -150 600 800" xmlns="http://www.w3.org/2000/svg">
|
|
<link xmlns="http://www.w3.org/1999/xhtml" rel="stylesheet" href="../css/map.css" type="text/css"/>
|
|
<style>
|
|
g[data-edge="north"] { --i: -2; }
|
|
g[data-edge="south"] { --i: 52; }
|
|
|
|
g#hex line {
|
|
opacity: 1;
|
|
}
|
|
|
|
g#hex path {
|
|
opacity: 1;
|
|
stroke: black;
|
|
stroke-width: 0.25px;
|
|
}
|
|
|
|
use[href="#hex"] {
|
|
opacity: 1;
|
|
}
|
|
|
|
g#hex line {
|
|
stroke-width: 0.2px;
|
|
transform: scale(1.2);
|
|
}
|
|
|
|
g#hex line:nth-child(2) {
|
|
transform: rotate(60deg) scale(1.2);
|
|
}
|
|
|
|
g#hex line:nth-child(3) {
|
|
transform: rotate(-60deg) scale(1.2);
|
|
}
|
|
</style>
|
|
<defs>
|
|
<g id="hex">
|
|
<polygon points="0,10 8.66,5 8.66,-5 0,-10 -8.66,-5 -8.66,5"/>
|
|
<!-- <circle cx="0" cy="0" r="2"/> -->
|
|
<!-- <line x1="-1" y1="0" x2="1" y2="0" />
|
|
<line x1="-1" y1="0" x2="1" y2="0" />
|
|
<line x1="-1" y1="0" x2="1" y2="0" /> -->
|
|
|
|
<path d="
|
|
M -1.2 0 L 1.2 0
|
|
M -.6 -1 L .6 1
|
|
M -.6 1 L .6 -1
|
|
"/>
|
|
</g>
|
|
|
|
<circle id="counter-base" cx="0" cy="0" r="5"/>
|
|
|
|
<g id="t-1" class="troop-counter-template"><use href="#counter-base"/><text>1</text></g>
|
|
<g id="t-2" class="troop-counter-template"><use href="#counter-base"/><text>2</text></g>
|
|
<g id="t-3" class="troop-counter-template"><use href="#counter-base"/><text>3</text></g>
|
|
<g id="t-4" class="troop-counter-template"><use href="#counter-base"/><text>4</text></g>
|
|
<g id="t-5" class="troop-counter-template"><use href="#counter-base"/><text>5</text></g>
|
|
<g id="t-6" class="troop-counter-template"><use href="#counter-base"/><text>6</text></g>
|
|
<g id="t-7" class="troop-counter-template"><use href="#counter-base"/><text>7</text></g>
|
|
|
|
<image id="counter-prone" href="counter_prone.jpg" width="10"/>
|
|
<image id="counter-grenade" href="counter_grenade.jpg" width="10"/>
|
|
</defs>
|
|
|
|
<rect id="background"/>
|
|
|
|
<!-- <foreignObject width="100%" height="100%"> -->
|
|
<!--
|
|
In the context of SVG embedded in an HTML document, the XHTML
|
|
namespace could be omitted, but it is mandatory in the
|
|
context of an SVG document
|
|
-->
|
|
|
|
<!-- <div style="background-color: orange" xmlns="http://www.w3.org/1999/xhtml">
|
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed mollis mollis
|
|
mi ut ultricies. Nullam magna ipsum, porta vel dui convallis, rutrum
|
|
imperdiet eros. Aliquam erat volutpat.
|
|
<img src="test.svg" width="10" height="10"/>
|
|
</div>
|
|
</foreignObject> -->
|
|
|
|
<g class="gameboard">
|
|
<g id="firing-arcs">
|
|
<g id="shapes"/>
|
|
<g id="lines"/>
|
|
</g>
|
|
<g class="grid"/>
|
|
</g>
|
|
|
|
<script data-cols="33" data-rows="50"></script>
|
|
</svg>
|