From c62df44216dc3b640597ad7d069bd35c0f4bf7fa Mon Sep 17 00:00:00 2001 From: iainp5 Date: Tue, 29 Oct 2024 17:53:37 +0000 Subject: Add small power cards --- play.css | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'play.css') diff --git a/play.css b/play.css index e574797..d14a5e5 100644 --- a/play.css +++ b/play.css @@ -40,6 +40,7 @@ body.Communist header.your_turn { background-color: hsl(355, 70%, 75%); } #log .h1 { background-color: tan } #log .h2 { background-color: wheat } #log .h3 { background-color: wheat } +#log .h3 { background-color: wheat } #log .h2.dem { background-color: hsl(206, 85%, 80%); } #log .h2.com { background-color: hsl(355, 70%, 80%); } @@ -238,6 +239,11 @@ body.Communist header.your_turn { background-color: hsl(355, 70%, 75%); } min-height: 263px; } +.panel.autohide:has(.panel_body:empty) { +.panel_body.power { + min-height: 263px; +} + .panel.autohide:has(.panel_body:empty) { display: none; } @@ -268,6 +274,12 @@ body.Communist header.your_turn { background-color: hsl(355, 70%, 75%); } border-radius: 12px; } +.power_card { + width: 188px; + height: 263px; + border-radius: 12px; +} + .card.action { box-shadow: 0 0 0 1px #444, 0 0 0 4px white; } @@ -440,4 +452,4 @@ body.Communist header.your_turn { background-color: hsl(355, 70%, 75%); } .card.power_49 { background-image: url(cards75/power_49.avif) } .card.power_50 { background-image: url(cards75/power_50.avif) } .card.power_51 { background-image: url(cards75/power_51.avif) } -.card.power_52 { background-image: url(cards75/power_52.avif) } +.card.power_52 { background-image: url(cards75/power_52.avif) } \ No newline at end of file -- cgit v1.2.3