From 0ecd180322bc9241475a435e7413ee2aad06213a Mon Sep 17 00:00:00 2001 From: Austin Chen Date: Wed, 20 Jul 2022 16:57:13 -0700 Subject: [PATCH] Add Ida's tweak to card position --- web/public/mtg/index.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/web/public/mtg/index.html b/web/public/mtg/index.html index a4f0b6d2..8ca9264c 100644 --- a/web/public/mtg/index.html +++ b/web/public/mtg/index.html @@ -66,6 +66,14 @@ background-size: 220px; background-repeat: no-repeat; transition: height 1s, background-image 1s, border 0.4s 0.6s; + background-position-y: calc(50% - 20px); + } + + .card:not([data-name^='name'])::after { + content: ''; + height: 34px; + background: white; + width: 100%; } .answer-page .card {