summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-07-05 17:29:01 +0200
committerTor Andersson <tor@ccxvii.net>2022-11-17 12:53:17 +0100
commitc6820e3251de4a57e4f1dda6f54db393b0a6cbd8 (patch)
treec2381e8da838d1ffd7d53213f28bfeb847d1b662
parent135699e98f37f45d24faa17e160d266215e5cb0a (diff)
downloadhammer-of-the-scots-c6820e3251de4a57e4f1dda6f54db393b0a6cbd8.tar.gz
hammer: Fix card back SVG image size.
-rw-r--r--cards/card_back.svg2
-rw-r--r--play.html9
2 files changed, 2 insertions, 9 deletions
diff --git a/cards/card_back.svg b/cards/card_back.svg
index ac35b71..bd424c8 100644
--- a/cards/card_back.svg
+++ b/cards/card_back.svg
@@ -2,7 +2,7 @@
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
- width="512.000000pt" height="512.000000pt" viewBox="0 0 512.000000 512.000000"
+ width="450" height="700" viewBox="0 0 512 512"
preserveAspectRatio="xMidYMid meet">
<metadata>
Created by potrace 1.15, written by Peter Selinger 2001-2017
diff --git a/play.html b/play.html
index 169e1de..713c2ee 100644
--- a/play.html
+++ b/play.html
@@ -25,13 +25,7 @@
/* CARDS */
-.card_back {
- background-image: url('cards/card_back.svg');
- background-size: contain;
- background-position: 0% 40%;
- background-repeat: no-repeat;
-}
-
+.card_back{background-image: url('cards/card_back.svg')}
.card_truce{background-image:url('cards/card_truce.jpg')}
.card_herald{background-image:url('cards/card_herald.jpg')}
.card_sea_move{background-image:url('cards/card_sea_move.jpg')}
@@ -64,7 +58,6 @@
.role_info { padding: 15px 0 0 0; }
.small_card { width: 180px; height: 80px; border-radius: 8px 8px 0 0; }
.small_card:hover { width: 180px; height: 280px; border-radius: 8px; margin-bottom: 15px; }
- .small_card.card_back { background-image: unset; }
}
@media (min-height: 1200px) {