diff options
-rw-r--r-- | play.html | 13 | ||||
-rw-r--r-- | ui.js | 2 |
2 files changed, 3 insertions, 12 deletions
@@ -23,20 +23,11 @@ .role_info { background-color: silver; } .one .role_name { background-color: salmon; } .two .role_name { background-color: ghostwhite; } +.turn_info { background-color: gainsboro; } .battle_header { background-color: silver; } .battle_message { background-color: silver; } .battle_separator { background-color: silver; } -#turn { - padding: 8px 0px 8px 8px; - border-bottom: 1px solid black; - white-space: pre-wrap; - font-style: italic; - font-size: 12px; - line-height: 18px; - font-family: "Source Serif SmText"; -} - .hand { min-height: 300px; } @@ -382,7 +373,7 @@ div.block { <div class="role_info"><div class="small_card card_back" id="york_card"></div></div> </div> - <div id="turn">-</div> + <div class="turn_info">-</div> </div> @@ -483,7 +483,7 @@ function update_map() { let overflow = { Lancaster: [], York: [], Rebel: [] }; let layout = {}; - document.getElementById("turn").textContent = + document.querySelector(".turn_info").textContent = "Campaign " + game.campaign + "\nKing: " + block_name(game.king) + "\nPretender: " + block_name(game.pretender); |