summaryrefslogtreecommitdiff
path: root/play.html
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-10-30 13:04:57 +0100
committerTor Andersson <tor@ccxvii.net>2023-10-30 13:04:57 +0100
commitf4711e39c5e25376241b2a27139980fdb359330d (patch)
tree6f744e8cfa4065693040dbf0da39fcf86cc8b0b4 /play.html
parent469e8da541659ad0606ed214d496361f36f175e6 (diff)
downloadalgeria-f4711e39c5e25376241b2a27139980fdb359330d.tar.gz
per-type counter border colors
Diffstat (limited to 'play.html')
-rw-r--r--play.html12
1 files changed, 11 insertions, 1 deletions
diff --git a/play.html b/play.html
index 859d4fa..24e7f37 100644
--- a/play.html
+++ b/play.html
@@ -28,8 +28,14 @@
--counter-french-color: #BCDDFF;
--counter-elite-color: #FFCCCB;
--counter-algerian-color: #FFE7BD;
- --counter-fln-color: #51a36d;
--counter-remote-color: #DFD9C1;
+ --counter-fln-color: #51a36d;
+
+ --counter-french-border: navy;
+ --counter-elite-border: navy;
+ --counter-algerian-border: navy;
+ --counter-remote-border: navy;
+ --counter-fln-border: darkgreen;
--stack-2-left: 10px;
--stack-2-top: -13px;
@@ -310,15 +316,19 @@ main { background-color: dimgray }
.unit[class*=' fr_x'] {
background-color: var(--counter-french-color);
+ border-color: var(--counter-french-border);
}
.unit[class*=' fr_elite_x_'] {
background-color: var(--counter-elite-color);
+ border-color: var(--counter-elite-border);
}
.unit[class*=' alg_'] {
background-color: var(--counter-algerian-color);
+ border-color: var(--counter-algerian-border);
}
.unit[class*=' fln_'] {
background-color: var(--counter-fln-color);
+ border-color: var(--counter-fln-border);
}
.unit.neutralized[class*=' fr_x'] {
background-color: color-mix(in srgb, var(--counter-french-color) 40%, white);