summaryrefslogtreecommitdiff
path: root/play.html
diff options
context:
space:
mode:
authorMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-11-24 10:39:33 +0100
committerMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-11-24 10:39:33 +0100
commit8641448cd326277ea4e3e6b7dcbc128ccf51bdd3 (patch)
tree10836c272ee067420e709b4a0eebbce01f22f116 /play.html
parentd6eaa9d9113d54a85fc1a9b13b203d874952b5f2 (diff)
downloadvotes-for-women-8641448cd326277ea4e3e6b7dcbc128ccf51bdd3.tar.gz
show buttons on the board
Diffstat (limited to 'play.html')
-rw-r--r--play.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/play.html b/play.html
index 3b98ad5..00ee86f 100644
--- a/play.html
+++ b/play.html
@@ -282,6 +282,30 @@ div.congress_box.action {
.piece.no { width: 42px; height: 32px; background-size: 42px 32px; background-image: url(pieces/no.svg); }
.piece.congress { width: 32px; height: 32px; background-size: 32px 32px; background-image: url(pieces/cog.svg); }
+div.button_box {
+ position: absolute;
+ box-sizing: border-box;
+ display: flex;
+ flex-direction: column;
+ flex-wrap: wrap;
+ justify-content: start;
+ gap: 4px;
+}
+
+.button {
+ width: 40px;
+ height: 40px;
+ background-size: 40px 40px;
+ filter: drop-shadow(0px 1px 2px #0004);
+}
+
+.button_1{background-image:url(images/badge1.png)}
+.button_2{background-image:url(images/badge2.png)}
+.button_3{background-image:url(images/badge3.png)}
+.button_4{background-image:url(images/badge4.png)}
+.button_5{background-image:url(images/badge5.png)}
+.button_6{background-image:url(images/badge6.png)}
+
.card {
background-size: cover;
background-repeat: no-repeat;
@@ -965,6 +989,10 @@ c5 3 13 7 17 8 8 2 9 3 11 12 1 5 5 12 8 16 5 8 5 8 3 22 l-3 14 -30 -1 c-35
<div id="turn" class="piece turn" style="left:800px;top:765px;"></div>
<div id="congress_box" class="congress_box" style="left:490px;top:760px;width:270px;height:60px;">
</div>
+ <div id="support_buttons" class="button_box" style="left:4px;top:40px;width:50px;height:534px;">
+ </div>
+ <div id="opposition_buttons" class="button_box" style="left:1056px;top:460px;width:50px;height:270px;">
+ </div>
<div id="pieces"></div>