From 1d20c2e8fb5893391e367e498845ad081f5d12f7 Mon Sep 17 00:00:00 2001 From: Firq Date: Thu, 16 Mar 2023 19:30:03 +0100 Subject: [PATCH] damn you css --- src/components/servantCard.astro | 37 ++++++++++++++++---------------- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/src/components/servantCard.astro b/src/components/servantCard.astro index c6a52b9..c887e6c 100644 --- a/src/components/servantCard.astro +++ b/src/components/servantCard.astro @@ -80,25 +80,6 @@ if (bond10 === 'false') { width: 120px; height: 120px; } - - @media (min-width: 512px) { - article { - padding: 10px 10px; - width: auto; - height: auto; - } - - article > img { - width: 200px; - height: 200px; - } - - .bond-ce { - width: 128px; - height: 85px; - } - } - .subtext { color: white; font-size: 16px; @@ -132,4 +113,22 @@ if (bond10 === 'false') { .unobtained { filter: grayscale(1); } + + @media (min-width: 512px) { + article { + padding: 10px 10px; + width: auto; + height: auto; + } + + article > img { + width: 200px; + height: 200px; + } + + .bond-ce { + width: 128px; + height: 85px; + } + }