Web Dev Solutions

Catalin Mititiuc

From 4dc47d6f045c01479d1298b933fd3e129d3d8279 Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Mon, 22 Apr 2024 14:28:29 -0700 Subject: Add grenade counter --- public/counter_grenade.jpg | Bin 0 -> 6649 bytes public/icon_grenade.png | Bin 0 -> 3252 bytes public/index.html | 4 +++- public/map.css | 4 ++++ public/map.svg | 5 +++-- 5 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 public/counter_grenade.jpg create mode 100644 public/icon_grenade.png (limited to 'public') diff --git a/public/counter_grenade.jpg b/public/counter_grenade.jpg new file mode 100644 index 0000000..45d25f0 Binary files /dev/null and b/public/counter_grenade.jpg differ diff --git a/public/icon_grenade.png b/public/icon_grenade.png new file mode 100644 index 0000000..7642556 Binary files /dev/null and b/public/icon_grenade.png differ diff --git a/public/index.html b/public/index.html index a60db29..dbabace 100644 --- a/public/index.html +++ b/public/index.html @@ -167,8 +167,10 @@ -
Prone: + Turn: 0 diff --git a/public/map.css b/public/map.css index 780b912..ad67ce3 100644 --- a/public/map.css +++ b/public/map.css @@ -86,6 +86,10 @@ g.troop-counter-template text { transform: translate(-5px, 6px); } +[href="#counter-grenade"] { + transform: translate(-5px, -5px); +} + g#points g use.counter { r: 5px; } diff --git a/public/map.svg b/public/map.svg index 1436aea..c5e80f5 100644 --- a/public/map.svg +++ b/public/map.svg @@ -21,7 +21,8 @@ 6 7 - + + @@ -72,7 +73,7 @@ - + -- cgit v1.2.3