From c6820e3251de4a57e4f1dda6f54db393b0a6cbd8 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 5 Jul 2021 17:29:01 +0200 Subject: hammer: Fix card back SVG image size. --- cards/card_back.svg | 2 +- play.html | 9 +-------- 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 @@ 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) { -- cgit v1.2.3