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
6cbf724fce
commit
454d7fbd7e
1 changed files with 83 additions and 41 deletions
|
|
@ -30,9 +30,13 @@
|
|||
<h1 class="header__site-name">
|
||||
<a href="{{ site.Home.RelPermalink }}" rel="home" class="header__site-link">{{ site.Title }}</a>
|
||||
</h1>
|
||||
<div class="region header__region">
|
||||
{{ if hugo.IsMultilingual }}{{ partial "language-selector.html" . }}{{ end -}}
|
||||
{{ if $.Param "menuinheader" }}{{ partial "menu.html" . }}{{ end -}}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{ partial "menu.html" . }}
|
||||
{{ if not ($.Param "menuinheader") }}{{ partial "menu.html" . }}{{ end -}}
|
||||
{{ if $.Param "mobilemenu" }}{{ partial "mobilemenu.html" . }}{{ end -}}
|
||||
|
||||
<div id="main-content" tabindex="-1"></div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue