diff options
| author | Anhgelus Morhtuuzh <anhgelus@anhgelus.world> | 2024-12-11 11:44:01 +0100 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <anhgelus@anhgelus.world> | 2024-12-11 11:44:01 +0100 |
| commit | b05b912f15f02d0208599142a4299970cbb6e90b (patch) | |
| tree | 9c9e333a7a2930ede88888a465029d5179c47dcf /scss | |
| parent | e833d8972522b73950c77b86fe1724bd22751a2a (diff) | |
feat(custom): better style of navbar in header
Diffstat (limited to 'scss')
| -rw-r--r-- | scss/main.scss | 18 |
1 files 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 { |
