diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-07-29 23:56:00 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-17 13:11:26 +0100 |
commit | 27e1c173919d3d1506ced0350df576781dec491f (patch) | |
tree | cc4c232e174e37ce5b7453aaa50ba633b2da6383 /play.html | |
parent | 1ec5d762368bfca6e51e83e100c7de2138fae0e8 (diff) | |
download | rommel-in-the-desert-27e1c173919d3d1506ced0350df576781dec491f.tar.gz |
Hide/reveal units. Pursuit Deception.
Diffstat (limited to 'play.html')
-rw-r--r-- | play.html | 32 |
1 files changed, 20 insertions, 12 deletions
@@ -365,33 +365,41 @@ svg .hex.tip { } .unit { - background-image: url(units.svg); background-size: 1000%; border-style: solid; transition: top 200ms, left 200ms, transform 200ms; } -#mapwrap.fit .unit { +.unit.revealed { + background-image: url(units.svg); +} + +#mapwrap.fit .unit.revealed { background-image: url(units-simple.svg); } -.unit.italian { - background-color: #f9e3b3; - border-color: dimgray; +.unit.italian, .unit.german { + background-color: #9aa880; + border-color: #899572; box-shadow: 0 0 2px 1px #2d292c80; } -.unit.german { +.unit.allied { + background-color: #cebc9a; + border-color: #b7a889; + box-shadow: 0 0 2px 1px #5c3a1e80; +} + +.unit.italian.revealed { + background-color: #f9e3b3; +} + +.unit.german.revealed { background-color: #abba8e; - border-color: dimgray; - box-shadow: 0 0 2px 1px #004e2f; - box-shadow: 0 0 2px 1px #2d292c80; } -.unit.allied { +.unit.allied.revealed { background-color: #e4d1ab; - border-color: tan; - box-shadow: 0 0 2px 1px #5c3a1e80; } .unit.action { |