From 83136c4a38879a4e2a6ca1a9361f34d472d2556e Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 24 Nov 2023 14:26:42 +0100 Subject: Tweak button display. --- play.html | 50 ++++++++++++++++++++++++++++---------------------- 1 file changed, 28 insertions(+), 22 deletions(-) (limited to 'play.html') diff --git a/play.html b/play.html index ddf77e4..57517ee 100644 --- a/play.html +++ b/play.html @@ -29,15 +29,12 @@ main { #role_Suffragist .role_name { background-color: var(--suf-85); } #role_Opposition .role_name { background-color: var(--opp-85); } -.role.active span { text-decoration: underline; } +.role.active .role_name span { text-decoration: underline; } + +.role_vp { float: right; height: 24px; color: #000c; } body.Suffragist header.your_turn { background-color: var(--suf-75); } body.Opposition header.your_turn { background-color: var(--opp-75); } -.role_info { - padding: 3px 18px; - background-color: gainsboro; - white-space: pre-wrap; -} #log { background-color: whitesmoke; } #log .h1, #log .h2 { @@ -357,22 +354,31 @@ div.button_box { flex-direction: column; flex-wrap: wrap; justify-content: start; - gap: 4px; + gap: 0px; } -.button { - width: 40px; - height: 40px; - background-size: 40px 40px; - filter: drop-shadow(0px 1px 2px #0004); +div.button_box .button { margin: 0 0 -10px 0; } +div.button_box.h .button { margin: 0 0 0 -10px; } + +div.button_box.h { + flex-direction: row; +} + +div.button_box .button { + width: 38px; + height: 38px; + background-size: 100%; + border-radius: 50%; + border: 1px solid #0008; + box-shadow: 0 1px 4px #0004; } -.button_1{background-image:url(images/badge1.png)} -.button_2{background-image:url(images/badge2.png)} -.button_3{background-image:url(images/badge3.png)} -.button_4{background-image:url(images/badge4.png)} -.button_5{background-image:url(images/badge5.png)} -.button_6{background-image:url(images/badge6.png)} +.button_1{background-image:url(images/button1.png)} +.button_2{background-image:url(images/button2.png)} +.button_3{background-image:url(images/button3.png)} +.button_4{background-image:url(images/button4.png)} +.button_5{background-image:url(images/button5.png)} +.button_6{background-image:url(images/button6.png)} .card { background-size: cover; @@ -581,17 +587,17 @@ div.button_box {
+
Suffragist
-
-
0 buttons, 0 cards in hand
+
Opposition
-
-
0 buttons, 0 cards in hand
@@ -1057,9 +1063,9 @@ c5 3 13 7 17 8 8 2 9 3 11 12 1 5 5 12 8 16 5 8 5 8 3 22 l-3 14 -30 -1 c-35
-
+
-
+
-- cgit v1.2.3