diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2026-02-04 15:13:41 +0100 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2026-02-04 15:13:48 +0100 |
| commit | 6e809c4e71f8aba442adb058695a60555803ea60 (patch) | |
| tree | da80426e3bd8bfc6e031e8f8727e161f80d068cc /frontend | |
| parent | 80adfde3c830f734eb186a294f9d856c2df81593 (diff) | |
feat(style): dynamically handle navbar
remove twitter card in head
Diffstat (limited to 'frontend')
| -rw-r--r-- | frontend/scss/special.scss | 37 |
1 files changed, 23 insertions, 14 deletions
diff --git a/frontend/scss/special.scss b/frontend/scss/special.scss index d0e9ee9..050d854 100644 --- a/frontend/scss/special.scss +++ b/frontend/scss/special.scss @@ -3,7 +3,7 @@ header { height: var(--height-header); margin: 0 auto var(--margin-header) auto; - padding-bottom: 2rem; + padding-bottom: calc(var(--height-header) / 4); display: flex; flex-direction: row; @@ -17,27 +17,30 @@ header { } & nav { - display: flex; - flex-direction: column; - flex-wrap: wrap; - gap: 0.5rem; + & > ul { + display: flex; + flex-direction: column; + flex-wrap: wrap; + gap: 0.25rem 1rem; + + max-height: var(--height-header); - max-height: 100%; + list-style-type: none; + margin: 0; + + & > li { + margin-bottom: 0; + } + } & a { display: block; - min-width: 7rem; + padding: 0 1rem 0 0; font-family: monospace; } } - @media only screen and (max-width: 800px) { - height: 12rem; - padding-bottom: 0; - align-items: start; - } - @media only screen and (max-width: 600px) { flex-direction: column; align-items: normal; @@ -45,7 +48,13 @@ header { height: auto; min-height: var(--height-header); - padding-bottom: 2rem; + padding-bottom: 1rem; + + & nav > ul { + flex-direction: column; + max-height: unset; + gap: 0.5rem; + } & img { height: 100%; |
