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
|
|
@ -3,7 +3,7 @@
|
|||
.schedule {
|
||||
--schedule-line: color-mix(in oklch, var(--color-text) 20%, transparent);
|
||||
--schedule-card-bg: color-mix(in oklch, var(--color-text) 4%, transparent);
|
||||
--schedule-accent: var(--color-link);
|
||||
--schedule-accent: var(--c40-green);
|
||||
|
||||
container-type: inline-size;
|
||||
margin-block: var(--spacing-l);
|
||||
|
|
@ -84,7 +84,7 @@
|
|||
margin: 0 0 0.75rem;
|
||||
padding-block-end: 0.35rem;
|
||||
border-block-end: 2px solid var(--schedule-accent);
|
||||
font-size: var(--fs-l);
|
||||
font-size: calc(var(--fs-l) * var(--display-scale));
|
||||
}
|
||||
|
||||
.schedule__date {
|
||||
|
|
@ -170,7 +170,6 @@
|
|||
.schedule__lang {
|
||||
padding: 0 0.4rem;
|
||||
border: 1px solid var(--schedule-line);
|
||||
border-radius: 999px;
|
||||
font-family: var(--ff-alt);
|
||||
font-size: var(--fs-xs);
|
||||
letter-spacing: 0.03em;
|
||||
|
|
@ -237,7 +236,7 @@
|
|||
|
||||
&[aria-pressed="true"] {
|
||||
background: var(--schedule-accent);
|
||||
color: var(--color-body-bg);
|
||||
color: var(--c40-on-fill);
|
||||
|
||||
.schedule__pick-date {
|
||||
color: inherit;
|
||||
|
|
|
|||
Loading…
Reference in a new issue