Fix gap in landing pattern at the top

This commit is contained in:
Marcus Blättermann 2023-01-23 16:33:18 +01:00
parent f9e020dd67
commit fdde2d58af
No known key found for this signature in database
GPG Key ID: A1E1F04008AC450D

View File

@ -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)