Keeps logo size across languages and resolves mobile menu overlap #68

Merged
stb merged 14 commits from layout-fixes into main 2026-11-07 21:28:53 +01:00
2 changed files with 6 additions and 7 deletions
Showing only changes of commit 55d59be2e2 - Show all commits

Add page title to home page with same styling as News/FAQ pages

- Added <h1 class="title"> with page title to home page
- Uses same structure as list pages (News, FAQ, Tours)
- Title inherits styling from existing .title class (--fs-xxl)
Vincent Mahnke 2026-11-07 19:17:45 +01:00
Signed by: ViMaSter
GPG key ID: 6D787326BA7D6469

View file

@ -143,9 +143,9 @@ th, td {
font-variant-numeric: tabular-nums;
}
.title-post-date {
font-size: .7em;
margin-left: 2em;
.title-post-date { margin-left: 0em;
display: block;
font-size: 0.5em;
}
/* Zen v7 paints body with --color-body-bg and .page with --color-page-bg. */
@ -189,10 +189,6 @@ nav a,
h2 a {
margin-right: 2em;
}
.title-post-date {
margin-left: 0em;
}
/* Visible when focused with the keyboard; the visually-hidden class hides it otherwise. */
.skip-link:focus {
position: absolute;

View file

@ -2,6 +2,9 @@
{{ define "main" -}}
<main class="main layout__main">
<header>
<h1 class="title">{{ .Title }}</h1>
</header>
{{ if .Param "intro" }}
<div class="intro-text">{{ .Param "intro" }}</div>
{{ end }}