diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-12-19 17:03:16 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-16 19:12:55 +0100 |
commit | d92e88b9d413fc11a39a249b539b38c6d4122997 (patch) | |
tree | 0d58a24b2cd3504ba5d5d599b89f7c454c7631ec /play.html | |
parent | 6d081770ec81e431a050d9d7feac6ece4ba87d14 (diff) | |
download | richard-iii-d92e88b9d413fc11a39a249b539b38c6d4122997.tar.gz |
Prettier logs with formatting and colors.
Diffstat (limited to 'play.html')
-rw-r--r-- | play.html | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -16,13 +16,19 @@ .grid_center { background-color: #788; } .grid_role { background-color: silver; } -.grid_log { background-color: ghostwhite; } .grid_top { background-color: silver; } .grid_top.your_turn { background-color: orange; } .one .role_name { background-color: salmon; } .two .role_name { background-color: ghostwhite; } .turn_info { background-color: gainsboro; } +#log { background-color: ghostwhite; } +#log .st { background-color: steelblue; color: white; font-weight: bold; } +#log .L { background-color: pink; } +#log .Y { background-color: gainsboro; } +#log .bs { background-color: lightsteelblue; } +#log .br { font-style: italic; text-decoration: underline; } + .battle_header { background-color: silver; } .battle_message { background-color: silver; } .battle_separator { background-color: silver; } @@ -390,9 +396,7 @@ div.block { </div> - <div class="grid_log"> - <div class="log" id="log"></div> - </div> + <div id="log"></div> <div class="grid_center"> |