diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-12-20 16:41:03 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-17 12:53:18 +0100 |
commit | 49092bb35d3f33e1459d858aa257d2cff89c9f7d (patch) | |
tree | 94a045084e1a79a7260e419938bd144220421e59 /play.html | |
parent | e10d69474d05c66b33d8d41e181348851a54ef89 (diff) | |
download | hammer-of-the-scots-49092bb35d3f33e1459d858aa257d2cff89c9f7d.tar.gz |
Use ID instead of class for grid divs.
Diffstat (limited to 'play.html')
-rw-r--r-- | play.html | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -15,10 +15,10 @@ <script defer src="ui.js"></script> <style> -.grid_center { background-color: slategray; } -.grid_role { background-color: silver; } -.grid_top { background-color: silver; } -.grid_top.your_turn { background-color: orange; } +#grid_center { background-color: slategray; } +#grid_role { background-color: silver; } +#grid_top { background-color: silver; } +#grid_top.your_turn { background-color: orange; } .one .role_name { background-color: salmon; } .two .role_name { background-color: skyblue; } .turn_info { background-color: gainsboro; } @@ -305,9 +305,9 @@ div.block { <div id="herald+Steward" class="herald_noble" onclick="on_herald('Steward')">Steward</div> </div> -<div class="grid_window"> +<div id="grid_window"> - <div class="grid_top"> + <div id="grid_top"> <div class="menu"> <div class="menu_title"><img src="/images/cog.svg"></div> <div class="menu_popup"> @@ -382,7 +382,7 @@ div.block { <div id="exit_button" class="image_button hide" onclick="send_exit()"><img src="/images/exit-door.svg"></div> </div> - <div class="grid_role"> + <div id="grid_role"> <div class="role one"> <div class="role_name"> @@ -411,7 +411,7 @@ div.block { <div id="log"></div> - <div class="grid_center"> + <div id="grid_center"> <div id="mapwrap" class="mapwrap"> <div id="map" class="map"> |