From 28adbd55fc9aab4e6cc26e900d81da4fb701087a Mon Sep 17 00:00:00 2001 From: Luca Date: Sun, 10 Jul 2022 17:49:56 +0200 Subject: [PATCH] Scale header by 50% --- assets/style.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/style.scss b/assets/style.scss index b8604f7..e7eca74 100644 --- a/assets/style.scss +++ b/assets/style.scss @@ -69,18 +69,18 @@ header { } @media screen and (min-width: $small) { - margin-top: 300px; + margin-top: 150px; padding-top: 0.5rem; &::before { - background: url(/header.svg) 50% 0% no-repeat; + background: url(/header.svg) 50% 0% / contain no-repeat; content: ''; display: block; - height: 300px; + height: 150px; left: 0; position: absolute; top: 0; - width: 100vw; + width: 100%; } } }