feat: Applies 40c3 style to website
Rebased onto main after the bottom navigation bar (#68). Main's markup and behaviour win; this commit only contributes the 40c3 look. - Jersey 10 and Hack fonts, the 40c3 palette and light/dark schemes, theme-color metas, web manifest and the 40c3 logo/footer. - Header: site name as green chip; nav row with the language switch as amber chip. The tagline stays out of the header, as in main. - Mobile (up to 666px): main's bottom navigation bar is kept and restyled (2px borders and dividers, current page green, language switch amber, visible keyboard focus). The old button-and-sheet styling is dropped. - Start pages: 40C3 heading; stale commented-out 39C3 block removed. - layouts/home-baseof.html removed; it was identical to baseof.html. - Removed the leftover 'h2 a' margin that made the news list 2px wider than a 390px viewport. - README: describe the bottom navigation bar. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
75a8d446e4
commit
6cbf724fce
1 changed files with 587 additions and 216 deletions
|
|
@ -18,10 +18,11 @@ 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.
|
||||
wide swap the main menu and the language link in the header for a bottom
|
||||
navigation bar (`layouts/_partials/mobilemenu.html`): one box per menu entry plus
|
||||
one for the language switch. The current page is filled green and the language
|
||||
switch amber, as in the header menu. The page reserves space for the bar so it
|
||||
does not cover content.
|
||||
|
||||
## Brand spelling check
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue