summaryrefslogtreecommitdiff
path: root/play.html
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-06-07 00:49:36 +0200
committerTor Andersson <tor@ccxvii.net>2023-02-18 12:12:42 +0100
commit25c63103c6d93f793b8c95ed713c27912ae57551 (patch)
tree2451aeae17f9cd7efc657145807f64dc3c1ef7ca /play.html
parent5718d3695e0783ce8695aeb51f3af797d6037e60 (diff)
downloadshores-of-tripoli-25c63103c6d93f793b8c95ed713c27912ae57551.tar.gz
tripoli: Pirate raids.
Diffstat (limited to 'play.html')
-rw-r--r--play.html21
1 files changed, 19 insertions, 2 deletions
diff --git a/play.html b/play.html
index f25e54a..c91b9bd 100644
--- a/play.html
+++ b/play.html
@@ -46,9 +46,25 @@
border-radius: 12px;
}
+.card_info .card {
+ margin: 15px auto;
+ width: 100px;
+ height: 140px;
+ border-radius: 5px;
+}
+
+.card_info .card:hover {
+ transform: scale(2) translateY(-30px);
+}
+
.role_info {
- display: flex;
- justify-content: center;
+ padding: 5px 20px;
+ background-color: gainsboro;
+ white-space: pre-wrap;
+}
+
+.role_info.card_info {
+ background-color: silver;
}
/* MAP */
@@ -261,6 +277,7 @@
<div class="role_name">United States (<span class="role_user">$USER</span>)</div>
<div class="role_info" id="us_info">0 cards in hand</div>
</div>
+ <div class="role_info card_info"><div id="active_card" class="card show tr_card_back"></div></div>
</div>
<div class="grid_log">