From 8523aa8ba85ff3ff0ce8a7beaae54b5d72e07b30 Mon Sep 17 00:00:00 2001 From: imohkay Date: Mon, 25 Oct 2021 16:40:22 +0530 Subject: [PATCH] tighten home page spacing for mobile --- app/static/css/partials/_index.scss | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/app/static/css/partials/_index.scss b/app/static/css/partials/_index.scss index c36450a..a26a9c5 100755 --- a/app/static/css/partials/_index.scss +++ b/app/static/css/partials/_index.scss @@ -39,8 +39,12 @@ font-family: "wrong font"; margin: auto; font-weight: normal; - font-size: 44px; - font-weight: bold + font-size: 34px; + font-weight: bold; + + @media screen and (min-width: 800px) { + font-size: 44px; + } } .h1-en-home { @@ -48,7 +52,11 @@ } .h1-zh-home { - font-size: 34px; + font-size: 24px; + + @media screen and (min-width: 800px) { + font-size: 34px; + } } h2, .h2 {