summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-12-20 17:03:04 +0100
committerTor Andersson <tor@ccxvii.net>2022-11-16 19:08:56 +0100
commitfda8948d61cf9177d5a2df5fee2ffc44978e7e55 (patch)
tree1ed27ea7b42922270f98831546b08fe4d4e47467
parentdb391941baa042e3eb0995ab2dcd4afeada5497b (diff)
downloadjulius-caesar-fda8948d61cf9177d5a2df5fee2ffc44978e7e55.tar.gz
Use ID instead of class for map and mapwrap.
-rw-r--r--play.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/play.html b/play.html
index 160acce..10018ea 100644
--- a/play.html
+++ b/play.html
@@ -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>