Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'style.css')
-rw-r--r--style.css23
1 files changed, 18 insertions, 5 deletions
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 {