From d4ede91cf06b0d544afea4b5f3aa1c2040cc803d Mon Sep 17 00:00:00 2001 From: Mischa Untaga <99098079+MischaU8@users.noreply.github.com> Date: Fri, 24 Nov 2023 11:19:30 +0100 Subject: show persistent cards as stack --- play.html | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) (limited to 'play.html') diff --git a/play.html b/play.html index f087bc8..9e7ce2f 100644 --- a/play.html +++ b/play.html @@ -191,24 +191,14 @@ div.region.tip { div.persistent_box { position: absolute; - background-color: #FBF9F1; - width: 124px; - display: flex; - flex-direction: column; - gap: 4px; + width: 125px; } -.persistent_card { - font-family: var(--font-small); - font-size: 12px; - padding-top: 2px; - padding-bottom: 2px; - text-align: center; -} -.persistent_card.support { background-color: var(--suf-85); } -.persistent_card.opposition { background-color: var(--opp-85); } -.persistent_card.action { - box-shadow: 0 0 0 3px yellow; +.persistent_box .card { + position: absolute; + width: 125px; + height: 175px; + border: 1px solid #444; } div.congress_box { -- cgit v1.2.3