diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-12-20 17:03:04 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-16 19:08:56 +0100 |
commit | fda8948d61cf9177d5a2df5fee2ffc44978e7e55 (patch) | |
tree | 1ed27ea7b42922270f98831546b08fe4d4e47467 | |
parent | db391941baa042e3eb0995ab2dcd4afeada5497b (diff) | |
download | julius-caesar-fda8948d61cf9177d5a2df5fee2ffc44978e7e55.tar.gz |
Use ID instead of class for map and mapwrap.
-rw-r--r-- | play.html | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -99,13 +99,13 @@ /* MAP WITH BLOCKS AND SPACES */ -.mapwrap { +#mapwrap { position: relative; width: 2475px; height: 1275px; } -.map { +#map { position: absolute; width: 2475px; height: 1275px; @@ -161,10 +161,10 @@ body.shift .block.known:hover { } .battle .block { position: relative; } -.map .block { position: absolute; z-index: 2; } -.map .block.highlight { z-index: 3; } -.map .block.selected { z-index: 4; } -.map .block.known:hover { z-index: 5; } +#map .block { position: absolute; z-index: 2; } +#map .block.highlight { z-index: 3; } +#map .block.selected { z-index: 4; } +#map .block.known:hover { z-index: 5; } .block.highlight { cursor: pointer; } @@ -329,9 +329,9 @@ body.Observer .columbia-labels .known.jupiter.Cleopatra { border: 3px solid #822 <div id="grid_center"> - <div id="mapwrap" class="mapwrap"> - <div id="map" class="map"> - <div id="blocks" class="blocks"> + <div id="mapwrap"> + <div id="map"> + <div id="blocks"> <div id="secret_blocks"></div> <div id="known_blocks"></div> </div> |