fix: Restores header layout and uses 40C3 page colours for light theme
- Light scheme: background #ebedf0 and text #001300, the colours the 40C3 info pages (events.ccc.de/congress/2026/infos) use. Their black link boxes and per-level heading colours are not copied; links, headings and chips follow the styleguide as before. The theme-color metas, the web manifest and the footer logo use the same colours. - Menu: the four entries are full-width buttons in a row below the header again (outlined like the styleguide's quiet chips; the current page, hover and focus are filled green). - Language link: back on the right of the header instead of in the menu bar. layouts/baseof.html, layouts/_partials/menu.html and layouts/home-baseof.html are main's again, so the theme only adds files under layouts/. - README: the language switch is in the header, not in the menu. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
a7664c9168
commit
cf242b3e4c
1 changed files with 83 additions and 41 deletions
|
|
@ -1,9 +1,4 @@
|
|||
{{- /* Nav row: the main menu, and the language switch on the right.
|
||||
On small screens the theme's mobilemenu.js hides .main-menu and .header__region, and the
|
||||
bottom bar (mobilemenu.html) takes over both. */ -}}
|
||||
<div class="nav-bar mx--xs layout__navigation">
|
||||
<div class="nav-bar__row">
|
||||
<nav class="main-menu" aria-label="{{ i18n "menu_title" }}">
|
||||
<nav class="main-menu{{ if not ($.Param "menuinheader") }} mx--xs layout__navigation{{ end }}" aria-label="{{ i18n "menu_title" }}">
|
||||
<ul class="flex-inline mx--0">
|
||||
{{ $currentPage := . -}}
|
||||
{{ range site.Menus.main -}}
|
||||
|
|
@ -11,6 +6,3 @@ bottom bar (mobilemenu.html) takes over both. */ -}}
|
|||
{{ end -}}
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="region header__region">{{ if hugo.IsMultilingual }}{{ partial "language-selector.html" . }}{{ end }}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue