diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-12-21 17:16:12 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-16 19:19:39 +0100 |
commit | 2755c43519032388c56205a453a4ee054e6d3ba9 (patch) | |
tree | 354b6707793fe2f29ca838165988b459a54f1e61 | |
parent | a887899bd50cfcee58e526cfaedd63830b636e06 (diff) | |
download | crusader-rex-2755c43519032388c56205a453a4ee054e6d3ba9.tar.gz |
Some more log appearance tweaks.
-rw-r--r-- | play.html | 2 | ||||
-rw-r--r-- | ui.js | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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; } @@ -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'; |