From 3e9f0e02ed19ca23970f540bca93906e9c615991 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 27 Oct 2024 17:00:06 +0100 Subject: political card tooltips --- play.css | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'play.css') 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; -- cgit v1.2.3