From 1f7d985a62f6ba4f86bffd37dbb869985d973dd4 Mon Sep 17 00:00:00 2001 From: James Ketrenos Date: Tue, 31 May 2022 13:06:05 -0700 Subject: [PATCH] Add a background behind playersstatus Signed-off-by: James Ketrenos --- client/src/PlayersStatus.css | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/client/src/PlayersStatus.css b/client/src/PlayersStatus.css index f4107d9..9f866ef 100644 --- a/client/src/PlayersStatus.css +++ b/client/src/PlayersStatus.css @@ -2,13 +2,12 @@ display: flex; flex-direction: column; position: absolute; - margin-bottom: 0.5rem; - color: #444; + color: #d0d0d0; pointer-events: none; align-items: flex-end; - right: 0.5rem; - width: 10rem; - bottom: 11rem; + right: 0; + background-color: #44444480; + padding: 0.25rem; } .PlayerStatus * { @@ -18,12 +17,11 @@ .PlayersStatus.ActivePlayer { align-items: flex-start; pointer-events: all; - left: 0.5rem; right: auto; bottom: 7rem; /* 1rem over top of Resource cards in hand */ } -.PlayersStatus .Player { +.PlayersStatus .Player:not(:last-child) { margin-bottom: 0.5rem; border-bottom: 1px solid black; } @@ -37,7 +35,6 @@ display: inline-flex; align-items: center; justify-content: flex-end; - padding-right: 0.5rem; padding-left: 0; width: 100%; }