From b05b912f15f02d0208599142a4299970cbb6e90b Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Wed, 11 Dec 2024 11:44:01 +0100 Subject: [PATCH] feat(custom): better style of navbar in header --- scss/main.scss | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/scss/main.scss b/scss/main.scss index ca9abc5..7b90f36 100644 --- a/scss/main.scss +++ b/scss/main.scss @@ -144,6 +144,19 @@ li { align-items: normal; gap: 0.5rem; } + & nav { + display: flex; + gap: 1rem; + @media only screen and (max-width: vars.$bp-little) { + margin-bottom: 1rem; + } + } + & .header__title { + margin-bottom: 1rem; + @media only screen and (max-width: vars.$bp-little) { + margin-bottom: 0.25rem; + } + } } .presentation { @@ -254,10 +267,7 @@ li { } .custom-page { - & h2 { - margin-bottom: 1rem; - } - & h3 { + & h2, h3 { margin-bottom: 0.5rem; } & .links {