Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
blob: 5480a8cfec27c8597d704c97f738504a4fd5a987 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?xml version="1.0" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-10 -10 200 300">
  <link xmlns="http://www.w3.org/1999/xhtml" rel="stylesheet" href="../css/radial.css" type="text/css" />
  <link xmlns="http://www.w3.org/1999/xhtml" rel="stylesheet" href="../css/map.css" type="text/css" />

  <!--<style>-->
  <!--  .grid .building use {-->
  <!--    opacity: 1;-->
  <!--    fill: teal;-->
  <!--  }-->
  <!--</style>-->

  <defs>
    <polygon id="hex" points="0,10 8.66,5 8.66,-5 0,-10 -8.66,-5 -8.66,5"/>

    <line id="ast-line" x1="-1.2" y1="0" x2="1.2" y2="0"/>

    <pattern id="asterisk" viewBox="-8.66 -15 17.32 30" width="17.32" height="30" patternUnits="userSpaceOnUse">
      <use href="#ast-line"/>
      <use href="#ast-line" transform="rotate(60)"/>
      <use href="#ast-line" transform="rotate(-60)"/>

      <use x="-8.66" y="-15" href="#ast-line"/>
      <use x="-8.66" y="-15" transform="rotate(60 -8.66 -15)" href="#ast-line"/>

      <use x="8.66" y="-15" href="#ast-line"/>
      <use x="8.66" y="-15" transform="rotate(-60 8.66 -15)" href="#ast-line"/>

      <use x="-8.66" y="15" href="#ast-line"/>
      <use x="-8.66" y="15" transform="rotate(-60 -8.66 15)" href="#ast-line"/>

      <use x="8.66" y="15" href="#ast-line"/>
      <use x="8.66" y="15" transform="rotate(60 8.66 15)" href="#ast-line"/>
    </pattern>

    <image id="counter-prone" href="counter_prone.jpg" width="10"/>
    <image id="counter-grenade" href="counter_grenade.jpg" width="10"/>
  </defs>

  <g class="gameboard" data-view-elevation="0">
    <rect id="background"/>
    <g class="buildings"/>
    <rect id="dots" fill="url(#asterisk)"/>

    <g id="firing-arcs">
      <g id="shapes"/>
      <g id="lines"/>
    </g>

    <g class="grid"/>
  </g>
</svg>