summaryrefslogtreecommitdiff
path: root/play.css
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-05-21 01:09:05 +0200
committerTor Andersson <tor@ccxvii.net>2023-02-18 11:54:52 +0100
commit6e5ce14be8b08cc94e2f487f5e653925d71a8c86 (patch)
tree5c45d74a88900ef994d7f74ef419c13bc3db1d0c /play.css
parentcd6ce1cc3b62fecf55f621f4ec339a266c9b606e (diff)
downloadwilderness-war-6e5ce14be8b08cc94e2f487f5e653925d71a8c86.tar.gz
Show deck size when hovering over played card.
Diffstat (limited to 'play.css')
-rw-r--r--play.css15
1 files changed, 15 insertions, 0 deletions
diff --git a/play.css b/play.css
index b394264..30b155b 100644
--- a/play.css
+++ b/play.css
@@ -29,6 +29,21 @@ aside { width: 220px; }
text-indent: -12px;
}
+.card_info {
+ position: relative;
+}
+
+.card_info:hover #deck_size {
+ visibility: visible;
+}
+
+#deck_size {
+ visibility: hidden;
+ position: absolute;
+ right: 5px;
+ bottom: 3px;
+}
+
/* CARDS */
.hand {