From e06b0cc6cc27899f6f29958c16b04d44d152859b Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 6 Jan 2022 12:36:53 +0100 Subject: Update for new server version. --- play.css | 4 +- play.html | 9 ++--- play.js | 124 ++++++++++++++++++++++++++++++-------------------------------- rules.js | 10 +++-- 4 files changed, 72 insertions(+), 75 deletions(-) diff --git a/play.css b/play.css index f1d6e66..befdd04 100644 --- a/play.css +++ b/play.css @@ -4,8 +4,8 @@ header { background-color: silver; } .card_info { background-color: silver; } body.Tripolitania header.your_turn { background-color: salmon; } body.United_States header.your_turn { background-color: skyblue; } -.one .role_name { background-color: skyblue; } -.two .role_name { background-color: salmon; } +#role_United_States .role_name { background-color: skyblue; } +#role_Tripolitania .role_name { background-color: salmon; } #log { background-color: #eee; } #log .st { background-color: #777; color: white; font-weight: bold; padding:3px; text-align: center; } diff --git a/play.html b/play.html index 80ff639..16ef5e8 100644 --- a/play.html +++ b/play.html @@ -7,10 +7,9 @@ SHORES OF TRIPOLI - + - - + @@ -49,7 +48,7 @@