summaryrefslogtreecommitdiff
path: root/play.html
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-11-30 00:37:47 +0100
committerTor Andersson <tor@ccxvii.net>2023-11-30 21:36:19 +0100
commit82b95a56dd3f9b8d95ae59d36dfeb81bc6834821 (patch)
treeffe1c8ca22ee5c31c5f1133d39e3b40002fb7684 /play.html
parent726b52c4c2833f6eceef540b3ca5102fee0cd5d4 (diff)
downloadvotes-for-women-82b95a56dd3f9b8d95ae59d36dfeb81bc6834821.tar.gz
Zoom in and lift persistent card on mouseover with shift.
Diffstat (limited to 'play.html')
-rw-r--r--play.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/play.html b/play.html
index df3c4e3..23e9408 100644
--- a/play.html
+++ b/play.html
@@ -269,6 +269,13 @@ div.persistent_box {
border-radius: 8px;
}
+body.shift .persistent_box .card:hover {
+ width: 250px;
+ height: 350px;
+ border-radius: 16px;
+ z-index: 100;
+}
+
div.congress_box {
position: absolute;
box-sizing: border-box;