fix: Keeps logo size and resolves mobile menu overlap
This commit is contained in:
parent
91f48051fd
commit
401f1ce11a
1 changed files with 157 additions and 16 deletions
|
|
@ -16,6 +16,13 @@ hugo server --buildFuture --buildDrafts
|
|||
|
||||
Then open http://localhost:1313
|
||||
|
||||
The header uses the logo dimensions in `hugo.yaml` in both languages, without
|
||||
shrinking the logo to fit the text. With JavaScript enabled, screens up to 666px
|
||||
wide use a flat, borderless full-width menu button at the bottom and a scrollable
|
||||
panel above it. The language link spans the panel's content width, includes the
|
||||
translation icon, and uses the same font size as the menu links.
|
||||
The page reserves space for the button so it does not cover content.
|
||||
|
||||
## Shortcode: Language badge
|
||||
|
||||
Use the `lang` shortcode to mark whether a tour is in German, English or bilingual. It renders a small superscript badge next to the text, with details when hovered over or parsed by a screenreader.
|
||||
|
|
|
|||
Loading…
Reference in a new issue