summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--play.html8
-rw-r--r--ui.js2
2 files changed, 5 insertions, 5 deletions
diff --git a/play.html b/play.html
index 3539659..3dd5173 100644
--- a/play.html
+++ b/play.html
@@ -23,10 +23,10 @@
.two .role_name { background-color: skyblue; }
#turn_info { background-color: gainsboro; }
-#log { background-color: ghostwhite; }
-#log .st { background-color: #053; color: white; font-weight: bold; }
-#log .S { background-color: salmon; }
-#log .E { background-color: skyblue; }
+#log { background-color: whitesmoke; }
+#log .st { background-color: darkslategray; color: white; font-weight: bold; }
+#log .S { background-color: pink; }
+#log .E { background-color: lightblue; }
#log .bs { background-color: gainsboro; }
#log .br { font-style: italic; text-decoration: underline; }
diff --git a/ui.js b/ui.js
index 47c3cb7..66790c2 100644
--- a/ui.js
+++ b/ui.js
@@ -65,7 +65,7 @@ create_log_entry = function (text) {
else if (text.match(/^Start Scotland turn/))
p.className = 'S';
else if (text.match(/^Start /))
- p.className = 'st';
+ p.className = 'st', text = text.replace(/\.$/, "");
else if (text.match(/^(Battle in|Defection battle in)/))
p.className = 'bs';