summaryrefslogtreecommitdiff
path: root/play.css
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-10-27 17:00:06 +0100
committerTor Andersson <tor@ccxvii.net>2024-10-27 17:00:06 +0100
commit3e9f0e02ed19ca23970f540bca93906e9c615991 (patch)
treeec43f257ec177b1d33ea784bfa851cfc40f0ee30 /play.css
parent3535e2755451c78534919e9feb38653edbb7993d (diff)
downloadmaria-3e9f0e02ed19ca23970f540bca93906e9c615991.tar.gz
political card tooltips
Diffstat (limited to 'play.css')
-rw-r--r--play.css18
1 files changed, 18 insertions, 0 deletions
diff --git a/play.css b/play.css
index 792b1a4..ca618b2 100644
--- a/play.css
+++ b/play.css
@@ -45,6 +45,24 @@ body {
background-color: #ece1a9;
}
+#tooltip {
+ pointer-events: none;
+ position: fixed;
+ z-index: 600;
+ right: 240px;
+ top: 60px;
+}
+
+@media (max-width: 800px) {
+ #tooltip {
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ margin: auto;
+ }
+}
+
#political_display {
position: relative;
width: 877px;