summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-03-23 10:55:38 +0100
committerTor Andersson <tor@ccxvii.net>2023-05-03 18:48:16 +0200
commitcde668eb94e84e989bd547fd8571db78c347020a (patch)
tree413034056def6806fa56177bcc1aa97d4a3a3b56
parentb1f22d8ddc8428ad4bbe602b5d50abf38d9ed5d4 (diff)
downloadandean-abyss-cde668eb94e84e989bd547fd8571db78c347020a.tar.gz
Show current and next card left-to-right.
-rw-r--r--play.css1
-rw-r--r--play.html4
2 files changed, 3 insertions, 2 deletions
diff --git a/play.css b/play.css
index d3a161b..8edccf8 100644
--- a/play.css
+++ b/play.css
@@ -308,6 +308,7 @@ path.tip { stroke: yellow; }
#card_panel {
display: flex;
flex-wrap: wrap;
+ justify-content: center;
gap: 18px;
padding: 0 18px;
max-width: 1614px;
diff --git a/play.html b/play.html
index 6a66865..5165b7e 100644
--- a/play.html
+++ b/play.html
@@ -183,9 +183,9 @@
</div>
<div id="card_panel">
-<div id="deck_outer" class="card card_back"><div id="deck_size"></div></div>
-<div id="next_card" class="card card_2"></div>
<div id="this_card" class="card card_1"></div>
+<div id="next_card" class="card card_2"></div>
+<div id="deck_outer" class="card card_back"><div id="deck_size"></div></div>
</div>
</main>