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
10
layouts/_partials/logo-40c3.html
Normal file
10
layouts/_partials/logo-40c3.html
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{{- /*
|
||||
40C3 text logo, picked to suit the colour scheme: green on dark, dark text colour on light.
|
||||
Params: class (optional, on the picture element).
|
||||
*/ -}}
|
||||
{{- $light := resources.Get "img/40c3/logo-text-b.svg" -}}
|
||||
{{- $dark := resources.Get "img/40c3/logo-text-0.svg" -}}
|
||||
<picture{{ with .class }} class="{{ . }}"{{ end }}>
|
||||
<source srcset="{{ $dark.RelPermalink }}" media="(prefers-color-scheme: dark)">
|
||||
<img src="{{ $light.RelPermalink }}" alt="40C3 MODEL_CITIZENS" width="138" height="71" loading="lazy">
|
||||
</picture>
|
||||
Loading…
Reference in a new issue