From 2755c43519032388c56205a453a4ee054e6d3ba9 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 21 Dec 2021 17:16:12 +0100 Subject: Some more log appearance tweaks. --- play.html | 2 +- ui.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/play.html b/play.html index 03e6f33..b52ddf2 100644 --- a/play.html +++ b/play.html @@ -23,7 +23,7 @@ .two .role_name { background-color: darkseagreen; } #turn_info { background-color: gainsboro; } -#log { background-color: ghostwhite; } +#log { background-color: whitesmoke; } #log .st { background-color: #246; color: white; font-weight: bold; } #log .F { background-color: khaki; } #log .S { background-color: darkseagreen; } diff --git a/ui.js b/ui.js index c46a99f..c9be15f 100644 --- a/ui.js +++ b/ui.js @@ -67,7 +67,7 @@ create_log_entry = function (text) { else if (text.match(/^Start Saracen turn/)) p.className = 'S'; else if (text.match(/^Start /)) - p.className = 'st'; + p.className = 'st', text = text.replace(/\.$/, ""); else if (text.match(/^(Battle in)/)) p.className = 'bs'; -- cgit v1.2.3