summaryrefslogtreecommitdiff
path: root/play.html
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-11-04 12:31:05 +0100
committerTor Andersson <tor@ccxvii.net>2023-11-04 16:17:16 +0100
commit2b4b2e23eed2317c110f8e49203e517614663a39 (patch)
tree6148e2c1480f5f81348b7c6cc6f51e0edf9f7d93 /play.html
parent8bee6407bcca4aea5be438326d9d085f9f3b708e (diff)
downloadalgeria-2b4b2e23eed2317c110f8e49203e517614663a39.tar.gz
NEUT overlay
Diffstat (limited to 'play.html')
-rw-r--r--play.html30
1 files changed, 29 insertions, 1 deletions
diff --git a/play.html b/play.html
index 5141023..2729591 100644
--- a/play.html
+++ b/play.html
@@ -360,7 +360,35 @@ svg .area.tip, svg .urban2.tip {
}
.unit.neutralized {
- filter: grayscale(50%) brightness(125%);
+ filter: grayscale(75%);
+}
+
+.unit.neutralized::before {
+ display: block;
+ position: absolute;
+ top: 7px;
+ width: 39px;
+ font-size: 10px;
+ height: 17px;
+ line-height: 17px;
+ text-align: center;
+ font-weight: bold;
+ content: "NEUT";
+}
+
+.unit.fln.neutralized::before {
+ background-color: var(--fln-base);
+ color: white;
+}
+
+.unit.gov.neutralized::before {
+ background-color: var(--gov-44);
+ color: white;
+}
+
+.unit.neutralized:hover::before {
+ opacity: 0.5;
+ content: "";
}
.border_zone.neutralized {