From e9e0f9b8e1073d92697d4b9e84d24d45a5f7ff0d Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 6 May 2023 19:44:14 +0200 Subject: Add panels for different card areas - hand, objective, final. --- play.html | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 60 insertions(+), 7 deletions(-) (limited to 'play.html') diff --git a/play.html b/play.html index 1a2151b..c722096 100644 --- a/play.html +++ b/play.html @@ -37,18 +37,54 @@ body.Versailles header.your_turn { background-color: skyblue; } cursor: pointer; } -#hand { +/* PANELS */ + +.panel_grid { + display: grid; + grid-template-columns: min-content 1fr; + max-width: 1500px; + margin: 18px auto; + gap: 18px; +} + +#hand_panel { + grid-column: 1 / 3; +} + +#objective { + min-width: 250px; +} + +.panel { + background-color: #555; +} + +.panel_header { + background-color: #444; + color: white; + user-select: none; + font-weight: bold; + text-align: center; + padding: 3px 1em; +} + +.panel_body { display: flex; + justify-content: start; flex-wrap: wrap; - justify-content: center; - margin: 20px; - gap: 20px; + padding: 18px; + gap: 18px; + min-height: 350px; } +body.Observer #final_panel { display: none } + +/* CARDS */ + .card { background-size: cover; background-repeat: no-repeat; - background-color: ivory; + background-color: #555; width: 250px; height: 350px; border-radius: 16px; @@ -375,7 +411,7 @@ body.Versailles header.your_turn { background-color: skyblue; }
-
+
@@ -388,7 +424,24 @@ body.Versailles header.your_turn { background-color: skyblue; }
-
+
+ +
+
Hand
+
+
+ +
+
Objective
+
+
+ +
+
Set-aside cards
+
+
+ +
-- cgit v1.2.3