diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-09-16 00:32:56 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-17 13:11:27 +0100 |
commit | e40e0171938dfe33c7069f2ca5c199a294bcd586 (patch) | |
tree | 473bd1b9a1ecb394d1c7679b7416add22bd5d955 /play.html | |
parent | ed3fbab5440ea95bf04d10880f178681a379ff5b (diff) | |
download | rommel-in-the-desert-e40e0171938dfe33c7069f2ca5c199a294bcd586.tar.gz |
Show eliminated units off to the side of the Qattara depression.
Diffstat (limited to 'play.html')
-rw-r--r-- | play.html | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -432,11 +432,13 @@ svg #lines line.axis_supply.allied_supply { box-shadow: 0 0 2px 1px hsl(80, 20%, 20%); } +.unit.axis.eliminated, .unit.axis.fired, .unit.axis.moved:not(.disrupted):not(.unsupplied) { border-color: hsl(80, 20%, 40%); } +.unit.axis.eliminated:not(.revealed), .unit.axis.fired:not(.revealed), .unit.axis.moved:not(.revealed) { background-color: hsl(80, 20%, 50%); @@ -448,11 +450,13 @@ svg #lines line.axis_supply.allied_supply { box-shadow: 0 0 2px 1px hsl(30, 40%, 20%); } +.unit.allied.eliminated, .unit.allied.fired, .unit.allied.moved:not(.disrupted):not(.unsupplied) { border-color: hsl(35, 40%, 40%); } +.unit.allied.eliminated:not(.revealed), .unit.allied.fired:not(.revealed), .unit.allied.moved:not(.revealed) { background-color: hsl(35, 40%, 50%); @@ -464,6 +468,12 @@ svg #lines line.axis_supply.allied_supply { background-position: center bottom; } +.unit.eliminated:not(.revealed) { + background-image: url(eliminated.svg); + background-size: 60%; + background-position: center; +} + .unit.axis.revealed { background-color: #abba8e; } |