From a3bbeeb88c9dfa55b2c1c05c0fd1997a966b48aa Mon Sep 17 00:00:00 2001 From: Late Night Defender Date: Sat, 9 Nov 2024 06:14:30 +0700 Subject: [PATCH] improve css logic for small screens --- style.css | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/style.css b/style.css index b22a70f..adcf593 100644 --- a/style.css +++ b/style.css @@ -236,17 +236,12 @@ h1 {margin-top: 3vh;} /* For tablet screens */ @media only screen and (max-width: 1366px) { - .middle-large { - grid-area: middle; - width: 90vw; - max-width: 35cm; - } + .middle-large {width: 90vw;} } /* For phone screens */ @media only screen and (max-width: 750px) { - h1 {margin-top: 8vh;} - .banner {margin-top: 1cm;} + .middle-large {margin-top: 1cm;} } @media (prefers-color-scheme: light) {