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 | |
parent | 89d5f45ef54c7ba3c713b62d4bfd3c63540b1c13 (diff) | |
download | rommel-in-the-desert-47026c54cd34f9c015a5c066a7279e389b7aad01.tar.gz |
Restore mapwrap and simple labels when zoomed out.
-rw-r--r-- | play.css | 9 | ||||
-rw-r--r-- | play.html | 2 |
2 files changed, 9 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); } @@ -93,6 +93,7 @@ <div id="pursuit_message"></div> </details> +<div id="mapwrap"> <div id="map"> <!-- BEGIN INSERT MAP FILE --> @@ -311,6 +312,7 @@ </div> </div> +</div> <div id="hand" class="hand"></div> |