From f465d1ec0d1855af67703379c9cf738e587057f4 Mon Sep 17 00:00:00 2001 From: alwaysmesmerizingyou Date: Sat, 14 Nov 2026 16:57:39 -0800 Subject: [PATCH] tweaked header margin --- home.txt | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/home.txt b/home.txt index 61fcad0..8276bbd 100644 --- a/home.txt +++ b/home.txt @@ -10,11 +10,11 @@ .home-header { position: relative; width: 100vw; - height: 70vh; - min-height: 400px; + height: auto; + margin-top: calc(var(--header-height) + max(10px, env(safe-area-inset-top)) + 12px); margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); - padding-bottom: 24px; + padding: 40px 0 64px; overflow: hidden; display: flex; flex-direction: column; @@ -33,7 +33,6 @@ background-size: cover; background-repeat: no-repeat; z-index: 0; - margin-top: 130px !important; border-top-left-radius: 50px !important; border-top-right-radius: 50px !important; will-change: transform, opacity; @@ -310,21 +309,18 @@ .header-video, .header-image { - margin-top: 80px !important; border-top-left-radius: 55px !important; border-top-right-radius: 55px !important; width: 97% !important; margin-left: auto !important; margin-right: auto !important; + margin-top: 0px !important; } } @media (orientation: landscape) and (max-height: 550px) { .home-header { - height: auto; - min-height: 280px; - padding-top: calc(var(--header-height) + 24px); - padding-bottom: 28px; + padding: 20px 0 40px; } .header-logo-badge { @@ -420,7 +416,6 @@