diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-11-04 12:31:05 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-11-04 16:17:16 +0100 |
commit | 2b4b2e23eed2317c110f8e49203e517614663a39 (patch) | |
tree | 6148e2c1480f5f81348b7c6cc6f51e0edf9f7d93 /play.html | |
parent | 8bee6407bcca4aea5be438326d9d085f9f3b708e (diff) | |
download | algeria-2b4b2e23eed2317c110f8e49203e517614663a39.tar.gz |
NEUT overlay
Diffstat (limited to 'play.html')
-rw-r--r-- | play.html | 30 |
1 files changed, 29 insertions, 1 deletions
@@ -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 { |