diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-05-24 12:04:56 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-16 19:08:56 +0100 |
commit | a05d40cf1a4c59f34bab26b296b3cd890fdf7b76 (patch) | |
tree | 2c9f28feaf83e4f2285979c7691f215e4aca1acf | |
parent | c7a7a9376cb661dd14887e2f9d3889674b37cac9 (diff) | |
download | julius-caesar-a05d40cf1a4c59f34bab26b296b3cd890fdf7b76.tar.gz |
Set z-index on zoomed blocks.
-rw-r--r-- | play.html | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; } |