From 9be7f7d8beb3d037cc656b06d8289c7133d1249e Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 21 May 2022 13:26:14 +0200 Subject: Keep the bit rot away. --- cover.1x.jpg | Bin 9402 -> 27012 bytes cover.2x.jpg | Bin 29152 -> 57726 bytes info/playbook.html | 4 +- info/rulebook.html | 4 +- play.css | 20 +++- play.html | 11 +- play.js | 81 +++++++------- rules.js | 304 ++++++++++++++++++++++++++++------------------------- title.sql | 2 - 9 files changed, 225 insertions(+), 201 deletions(-) diff --git a/cover.1x.jpg b/cover.1x.jpg index 75e8673..7889c4d 100644 Binary files a/cover.1x.jpg and b/cover.1x.jpg differ diff --git a/cover.2x.jpg b/cover.2x.jpg index 31c1a36..09dc03e 100644 Binary files a/cover.2x.jpg and b/cover.2x.jpg differ diff --git a/info/playbook.html b/info/playbook.html index 2e5e291..47e8fb1 100644 --- a/info/playbook.html +++ b/info/playbook.html @@ -2,11 +2,11 @@ Washington's War - Playbook - + diff --git a/info/rulebook.html b/info/rulebook.html index 35fa587..c969308 100644 --- a/info/rulebook.html +++ b/info/rulebook.html @@ -2,11 +2,11 @@ Washington's War - Rules - + diff --git a/play.css b/play.css index 9b3d60c..436377f 100644 --- a/play.css +++ b/play.css @@ -1,10 +1,13 @@ main { background-color: slategray; } header { background-color: silver; } +aside { background-color: #f5e8d7; } body.British header.your_turn { background-color: salmon; } body.American header.your_turn { background-color: skyblue; } -aside { background-color: #f5e8d7; } -.one .role_name { background-color: skyblue; } -.two .role_name { background-color: salmon; } +#role_American .role_name { background-color: skyblue; } +#role_British .role_name { background-color: salmon; } +.role_vp { float: right; } + +#log > div { padding-left: 20px; text-indent: -12px; } #log .h1 { background-color: tan; @@ -22,7 +25,7 @@ aside { background-color: #f5e8d7; } #log .h2.american { background-color: skyblue; } #log .h2.british { background-color: salmon; } -#log .card_tip { text-decoration: dotted underline; } +#log .card_tip:hover { text-decoration: dotted underline; } aside { width: 230px; @@ -42,6 +45,15 @@ aside { margin: 5px auto; } +.hand { + margin: 15px; + display: flex; + flex-wrap: wrap; + justify-content: center; + min-height: 370px; + gap: 15px; +} + /* CARD ACTION POPUP MENU */ #popup { diff --git a/play.html b/play.html index 435c237..f162900 100644 --- a/play.html +++ b/play.html @@ -6,10 +6,9 @@ WASHINGTON'S WAR - + - - + @@ -54,8 +53,6 @@