summaryrefslogtreecommitdiff
path: root/play.html
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-12-20 16:41:03 +0100
committerTor Andersson <tor@ccxvii.net>2022-11-16 19:12:55 +0100
commitcab21221f1e08d469a6d8a18e8b82f2f30a95542 (patch)
tree883b7f3abddbca95072411893db8a997fbf32278 /play.html
parentd92e88b9d413fc11a39a249b539b38c6d4122997 (diff)
downloadrichard-iii-cab21221f1e08d469a6d8a18e8b82f2f30a95542.tar.gz
Use ID instead of class for grid divs.
Diffstat (limited to 'play.html')
-rw-r--r--play.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/play.html b/play.html
index 176c4a0..7b79851 100644
--- a/play.html
+++ b/play.html
@@ -14,10 +14,10 @@
<script defer src="ui.js"></script>
<style>
-.grid_center { background-color: #788; }
-.grid_role { background-color: silver; }
-.grid_top { background-color: silver; }
-.grid_top.your_turn { background-color: orange; }
+#grid_center { background-color: #788; }
+#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: ghostwhite; }
.turn_info { background-color: gainsboro; }
@@ -306,9 +306,9 @@ div.block {
<th class="battle_message" colspan=4></th>
</table>
-<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>
@@ -372,7 +372,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">
@@ -398,7 +398,7 @@ div.block {
<div id="log"></div>
- <div class="grid_center">
+ <div id="grid_center">
<div class="mapwrap" id="mapwrap">
<div class="map" id="map">