summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-05-24 12:04:56 +0200
committerTor Andersson <tor@ccxvii.net>2022-11-16 19:08:56 +0100
commita05d40cf1a4c59f34bab26b296b3cd890fdf7b76 (patch)
tree2c9f28feaf83e4f2285979c7691f215e4aca1acf
parentc7a7a9376cb661dd14887e2f9d3889674b37cac9 (diff)
downloadjulius-caesar-a05d40cf1a4c59f34bab26b296b3cd890fdf7b76.tar.gz
Set z-index on zoomed blocks.
-rw-r--r--play.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/play.html b/play.html
index 49e4389..ba9e0c8 100644
--- a/play.html
+++ b/play.html
@@ -140,8 +140,10 @@
body.shift .block.known:hover {
transform: scale(2) !important;
transition: 100ms;
+ z-index: 100;
}
+.battle .block { position: relative; }
.map .block { position: absolute; z-index: 2; }
.map .block.highlight { z-index: 3; }
.map .block.selected { z-index: 4; }