summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-12-21 17:16:12 +0100
committerTor Andersson <tor@ccxvii.net>2022-11-16 19:19:39 +0100
commit2755c43519032388c56205a453a4ee054e6d3ba9 (patch)
tree354b6707793fe2f29ca838165988b459a54f1e61
parenta887899bd50cfcee58e526cfaedd63830b636e06 (diff)
downloadcrusader-rex-2755c43519032388c56205a453a4ee054e6d3ba9.tar.gz
Some more log appearance tweaks.
-rw-r--r--play.html2
-rw-r--r--ui.js2
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';