Show the same brand mark in header and footer, lettered "der IGMH"

- New Brand component: signet plus two-line lettering, used by header and
  footer, so both show one mark instead of two differently built ones
- Lettering sized in em; header and footer set the scale with one font-size,
  the footer a little smaller than the header
- Second line reads "der IGMH" instead of "IGMH Mannheim" (the M already
  stands for Mannheim), also on the maintenance page

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
TomandClaude Opus 5.5 committed 2026-10-12 23:54:51 +02:00
1 parent 060bb6e0ef
commit 39ed1fde4d
5 files changed
+46 -38

No files matched your search

@@ -17,14 +17,9 @@
<header class="site-header">
<div class="header-inner">
@* Two-line lettering next to the signet: the body's name large, the
school small below it. One link, so the whole mark leads home. *@
@* The mark (signet and lettering) as one link, so all of it leads home. *@
<a class="brand" href="/">
<Signet />
<span class="brand-text">
<span class="brand-name">Elternbeirat</span>
<span class="brand-school">IGMH Mannheim</span>
</span>
<Brand />
</a>
@* CSS-only mobile menu: the checkbox holds the open/closed state, the
@@ -72,8 +67,7 @@
<div class="footer-inner">
<div class="footer-brand">
<Signet />
<span>Elternbeirat der IGMH</span>
<Brand />
</div>
@* Both link columns come from PocketBase like the header. An empty list
@@ -47,8 +47,8 @@
gap: var(--space-2) var(--space-4);
}
/* Signet and two-line lettering side by side. The lettering is a column of its
own, so the name and the school line up on the left edge. */
/* Signet and two-line lettering (Brand.razor) side by side. The lettering is sized
in em, so this font-size is its scale. */
.brand {
display: flex;
align-items: center;
@@ -76,23 +76,6 @@
height: 3rem;
}
.brand-text {
display: flex;
flex-direction: column;
line-height: 1.15;
}
.brand-name {
font-size: 1.35rem;
font-weight: var(--font-weight-heading);
letter-spacing: var(--letter-spacing-heading);
}
.brand-school {
font-size: 0.85rem;
font-weight: 600;
}
/* The links are pills with their own padding (see app.css), so the gap between
them can stay small. margin-left:auto pushes the menu to the right edge, away
from the brand -- the usual split, brand left, menu right. */
@@ -169,19 +152,21 @@
gap: var(--space-4);
}
/* The same mark as in the header, a little smaller: the footer closes the page, it
does not introduce it. */
.footer-brand {
display: flex;
align-items: center;
align-self: start;
gap: var(--space-2);
color: var(--color-on-footer);
font-weight: 700;
font-size: 0.9rem;
}
.footer-brand ::deep .signet {
flex-shrink: 0;
width: 3.5rem;
height: 3.5rem;
width: 2.75rem;
height: 2.75rem;
}
/* Column headings label the lists; they are not a second page heading, so they
@@ -353,12 +338,8 @@
height: 2.5rem;
}
.brand-name {
font-size: 1.15rem;
}
.brand-school {
font-size: 0.75rem;
.brand {
font-size: 0.86rem;
}
/* The footer columns stack: one column, brand on top. */