From 32e2501d5be8fdd3694a394a2757e8d2d7ddf06c Mon Sep 17 00:00:00 2001 From: rizaldy Date: Sat, 2 Mar 2024 17:10:30 +0700 Subject: [PATCH] feat: hide .page-header on mobile --- quartz/styles/custom.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/quartz/styles/custom.scss b/quartz/styles/custom.scss index 11a367a..834d45a 100644 --- a/quartz/styles/custom.scss +++ b/quartz/styles/custom.scss @@ -1,9 +1,14 @@ @use "./base.scss"; +@use "./variables.scss" as *; body[data-slug="index"] { .page-header { margin-top: -1.5rem; visibility: hidden; + + @media all and (max-width: $fullPageWidth) { + display: none; + } } img {