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.scss | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'land-and-freedom.scss') diff --git a/land-and-freedom.scss b/land-and-freedom.scss index 4447e4c..cae059a 100644 --- a/land-and-freedom.scss +++ b/land-and-freedom.scss @@ -50,6 +50,32 @@ main { } } +/* CURRENT CARD */ + +#turn_info { + border-bottom: 1px solid black; + // padding: 12px; + 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