From b03ab287e029d66ac3712abd10ba057d238c6a1b Mon Sep 17 00:00:00 2001
From: Catalin Mititiuc
Date: Mon, 1 Apr 2024 14:06:25 -0700
Subject: Overlaying firing arcs don't just keep getting darker and darker
---
style.css | 23 ++++++++++++++++++-----
1 file changed, 18 insertions(+), 5 deletions(-)
(limited to 'style.css')
diff --git a/style.css b/style.css
index 9e481fc..aba6b7e 100644
--- a/style.css
+++ b/style.css
@@ -224,12 +224,25 @@ rect#map {
stroke-width: 4px; */
}
-polygon.firing-arc {
+polygon.firing-arc[data-troop-allegiance="davion"] {
+ fill: red;
+}
+
+polygon.firing-arc[data-troop-allegiance="liao"] {
+ fill: green;
+}
+
+#shapes {
opacity: 0.1;
- fill: black;
- /* fill: transparent;
- stroke-width: 2px;
- stroke: black; */
+}
+
+#shapes polygon {
+ stroke: none;
+}
+
+#lines polygon {
+ fill: none;
+ stroke: black;
}
button.set-firing-arc img {
--
cgit v1.2.3