Use the IGMH mark in the header, a bubble favicon and a right-aligned menu
- Header and footer show the school's IGMH mark in white instead of the speech-bubble signet - Favicon (SVG plus PNG fallback) and apple-touch-icon use the speech bubble, filling the whole tab space - Main menu sits on the right; the hamburger takes over below 1024 px so the links never wrap to a second row - Slimmer header on phones, brand vertically centred (no row gap above the folded menu) - Home tab title shortened to "Elternbeirat IGMH" Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b05f766133
commit
dbfc5c7a75
10 files changed
+89
-39
No files matched your search
@@ -1,17 +1,10 @@
|
||||
@*
|
||||
The site's own small mark: a speech bubble (the board speaks for the parents)
|
||||
holding a grown-up and a child. Inline SVG, so there is no extra request and
|
||||
nothing from a third-party host. Decorative only -- the name next to it carries
|
||||
the meaning, so it is hidden from screen readers. Colours come from tokens in
|
||||
Signet.razor.css; the size is set by whoever places it (MainLayout.razor.css).
|
||||
The IGMH mark: the four squares with "IGMH", in white on a transparent
|
||||
background, so it sits straight on the header gradient and the dark footer. Made
|
||||
from the school's black-and-white logo with its subtitle cut off, which would be
|
||||
unreadable at this size. Served from wwwroot (logo.png, 192 px so it stays sharp
|
||||
on dense screens), so nothing comes from a third-party host. Decorative only --
|
||||
the name next to it carries the meaning, so the alt text is empty. The size is
|
||||
set by whoever places it (MainLayout.razor.css).
|
||||
*@
|
||||
<svg class="signet" viewBox="0 0 40 40" width="40" height="40" aria-hidden="true" focusable="false">
|
||||
<path class="signet-bubble"
|
||||
d="M8 4h24a6 6 0 0 1 6 6v15a6 6 0 0 1-6 6H18l-8 6v-6H8a6 6 0 0 1-6-6V10a6 6 0 0 1 6-6z" />
|
||||
<g class="signet-figures">
|
||||
<circle cx="15" cy="12" r="3.5" />
|
||||
<path d="M9 26c0-5 2.7-8 6-8s6 3 6 8z" />
|
||||
<circle cx="26" cy="16" r="2.6" />
|
||||
<path d="M21.5 26c0-3.8 2-6 4.5-6s4.5 2.2 4.5 6z" />
|
||||
</g>
|
||||
</svg>
|
||||
<img class="signet" src="@Assets["logo.png"]" alt="" width="192" height="192" />
|
||||
@@ -1,11 +1,5 @@
|
||||
/* A white bubble with green figures. It sits on the header gradient and on the dark
|
||||
footer, both of which always carry white text, so --color-on-header is right in
|
||||
both places. The figures use the darker green so they stay distinct on the white
|
||||
bubble (the lighter --color-accent would wash out). */
|
||||
.signet-bubble {
|
||||
fill: var(--color-on-header);
|
||||
}
|
||||
|
||||
.signet-figures {
|
||||
fill: var(--color-accent-dark);
|
||||
/* The image is already white on transparent; it only needs to behave as a block so
|
||||
no inline gap appears below it. */
|
||||
.signet {
|
||||
display: block;
|
||||
}
|
||||
Reference in new issue
Block a user