From 8749fad48dfca5d4374e15539b160db28a4ed2dc Mon Sep 17 00:00:00 2001 From: Frans Bongers Date: Fri, 27 Dec 2024 20:45:12 +0100 Subject: refactor selected cards --- land-and-freedom.css | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'land-and-freedom.css') diff --git a/land-and-freedom.css b/land-and-freedom.css index b3ee0a8..4ef7c15 100644 --- a/land-and-freedom.css +++ b/land-and-freedom.css @@ -26,6 +26,32 @@ main { background-image: url(images/map100.png); } } +/* CURRENT CARD */ +#turn_info { + border-bottom: 1px solid black; + overflow: clip; + background-color: gray; + white-space: normal; + padding: 8px 0px; +} + +#turn_info .card { + margin: 0 auto; +} + +@media (max-height: 800px) { + #turn_info { + height: 95px; + } + #turn_info:hover { + height: auto; + } +} +@media (max-height: 600px) { + #turn_info { + display: none; + } +} .game_info { padding: 3px 4px; border-bottom: 1px solid black; -- cgit v1.2.3