From fdde2d58af8412b1a1b31812afa57d48e2211104 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20Bl=C3=A4ttermann?= Date: Mon, 23 Jan 2023 16:33:18 +0100 Subject: [PATCH] Fix gap in landing pattern at the top --- website/src/styles/landing.module.sass | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/website/src/styles/landing.module.sass b/website/src/styles/landing.module.sass index 9629004b4..100cddf10 100644 --- a/website/src/styles/landing.module.sass +++ b/website/src/styles/landing.module.sass @@ -2,22 +2,23 @@ .header background: var(--color-theme) - padding-top: calc(var(--height-nav) * 1.5) + padding-top: var(--height-nav) width: 100% text-align: center + --header-top-margin: 27px .header-wrapper background: var(--color-theme) - background-position: top center + background-position: center var(--header-top-margin) background-repeat: repeat width: 100% .header-content - background: transparent - background-position: center -138px + background-position: center calc(-138px + var(--header-top-margin)) background-repeat: no-repeat width: 100% - min-height: 573px + min-height: calc(573px + var(--header-top-margin)) + padding-top: var(--header-top-margin) .title font: normal 600 7rem/#{1} var(--font-secondary)