From 9486ef27037835a6e31eac843b04219eda4c919c Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 26 Feb 2023 12:53:01 +0100 Subject: Combined roles. --- play.css | 4 ++++ play.html | 23 +++++++++++++++++++---- play.js | 18 ++++++++++++++++++ rules.js | 3 ++- 4 files changed, 43 insertions(+), 5 deletions(-) diff --git a/play.css b/play.css index 3b0e9d6..5958485 100644 --- a/play.css +++ b/play.css @@ -5,6 +5,10 @@ main { background-color: #777; } #role_Cartels, header.cartels.your_turn { background-color: darkseagreen; } #role_FARC, header.farc.your_turn { background-color: lightcoral; } +#role_Government_\+_AUC { background-image: linear-gradient(135deg, skyblue 30%, khaki 70%) } +#role_FARC_\+_Cartels { background-image: linear-gradient(135deg, lightcoral 30%, darkseagreen 70%) } +#role_AUC_\+_Cartels { background-image: linear-gradient(135deg, khaki 30%, darkseagreen 70%) } + #log { background-color: whitesmoke; } #log > div { padding-left: 20px; text-indent: -12px; } #log .h1 { background-color: silver; font-weight: bold; padding-top:4px; padding-bottom:4px; } diff --git a/play.html b/play.html index 63b6e3c..33d1584 100644 --- a/play.html +++ b/play.html @@ -44,22 +44,37 @@