summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-12-10 19:25:38 +0100
committerTor Andersson <tor@ccxvii.net>2023-12-10 19:26:07 +0100
commitf1c11210baff104de96b106134ce400ff82a6e65 (patch)
tree8339e86d38c1d5d8801655aee2fab43ffdc69120
parente8b02e17173feec741bd4475a299aa664346a41f (diff)
downloadhammer-of-the-scots-f1c11210baff104de96b106134ce400ff82a6e65.tar.gz
New player list.
-rw-r--r--play.css5
-rw-r--r--play.html24
2 files changed, 10 insertions, 19 deletions
diff --git a/play.css b/play.css
index e5a39f0..364e0e1 100644
--- a/play.css
+++ b/play.css
@@ -2,10 +2,9 @@ main { background-color: slategray; }
aside { background-color: silver; }
header { background-color: silver; }
header.your_turn { background-color: orange; }
-#role_England .role_name { background-color: salmon; }
-#role_Scotland .role_name { background-color: skyblue; }
+#role_England { background-color: salmon; }
+#role_Scotland { background-color: skyblue; }
#turn_info { background-color: gainsboro; }
-.role_vp { float: right; }
#log { background-color: whitesmoke; }
#log div { padding-left: 20px; text-indent: -12px; }
diff --git a/play.html b/play.html
index 52dd012..6ed7ac7 100644
--- a/play.html
+++ b/play.html
@@ -57,24 +57,16 @@
<aside>
<div id="roles">
<div class="role" id="role_England">
- <div class="role_name">
- England
- <div class="role_vp" id="england_vp"></div>
- <div class="role_user">-</div>
- </div>
- <div class="role_info">
- <div class="show card card_back" id="england_card"></div>
- </div>
+ <div class="role_name">England</div>
+ <div class="role_stat" id="england_vp"></div>
+ <div class="role_user">-</div>
+ <div class="role_info"><div class="show card card_back" id="england_card"></div></div>
</div>
<div class="role" id="role_Scotland">
- <div class="role_name">
- Scotland
- <div class="role_vp" id="scotland_vp"></div>
- <div class="role_user">-</div>
- </div>
- <div class="role_info">
- <div class="show card card_back" id="scotland_card"></div>
- </div>
+ <div class="role_name">Scotland</div>
+ <div class="role_stat" id="scotland_vp"></div>
+ <div class="role_user">-</div>
+ <div class="role_info"><div class="show card card_back" id="scotland_card"></div></div>
</div>
<div id="turn_info">-</div>
</div>