diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-10-30 20:12:12 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-10-30 20:12:12 +0100 |
commit | 47026c54cd34f9c015a5c066a7279e389b7aad01 (patch) | |
tree | e21955ea32d29634704331203065091bb4a3da00 /play.css | |
parent | 89d5f45ef54c7ba3c713b62d4bfd3c63540b1c13 (diff) | |
download | rommel-in-the-desert-47026c54cd34f9c015a5c066a7279e389b7aad01.tar.gz |
Restore mapwrap and simple labels when zoomed out.
Diffstat (limited to 'play.css')
-rw-r--r-- | play.css | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -51,7 +51,7 @@ header.your_turn { background-color: orange; } width: 124px; height: 170px; border-radius: 8px; - box-shadow: 1px 1px 5px rgba(0,0,0,0.5); + box-shadow: 1px 1px 4px #0008; transition: 100ms; } @@ -228,6 +228,11 @@ td img { vertical-align: middle } /* MAP */ +#mapwrap { + width: 2672px; + height: 960px; +} + #map { background-image: url(map75.jpg); background-size: 2672px 960px; @@ -421,7 +426,7 @@ svg #lines line.axis_supply.allied_supply { background-image: url(units.svg); } -#mapwrap.fit .unit.revealed { +#mapwrap[data-fit="both"] .unit.revealed { background-image: url(units-simple.svg); } |