Compare commits
4
Commits
060bb6e0ef
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d0f7660407 | ||
|
|
79c23e42e1 | ||
|
|
76eec0e0f3 | ||
|
|
39ed1fde4d |
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. */
|
||||
|
||||
@@ -55,9 +55,11 @@
|
||||
color: var(--color-accent-dark);
|
||||
}
|
||||
|
||||
/* pre-line keeps the editor's line breaks from the plain-text note field. */
|
||||
.event-note {
|
||||
margin-top: var(--space-1);
|
||||
font-size: 0.95rem;
|
||||
white-space: pre-line;
|
||||
}
|
||||
|
||||
/* In the linked card (home embed) the note is only a teaser: cut after two lines,
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
@*
|
||||
The site's mark: the IGMH signet with the two-line lettering beside it, the body's
|
||||
name large and "der IGMH" small below it. One component for the header and the
|
||||
footer, so both show the same mark. It renders no wrapper of its own: the parent
|
||||
supplies the element (the home link in the header, a plain box in the footer), lays
|
||||
the two parts out side by side and scales them through its font-size, since the
|
||||
lettering is sized in em (Brand.razor.css). "der IGMH" rather than "IGMH Mannheim":
|
||||
the M in IGMH already stands for Mannheim.
|
||||
*@
|
||||
<Signet />
|
||||
<span class="brand-text">
|
||||
<span class="brand-name">Elternbeirat</span>
|
||||
<span class="brand-school">der IGMH</span>
|
||||
</span>
|
||||
@@ -0,0 +1,19 @@
|
||||
/* The name and the school line up on the left edge as a column of their own. Sizes in
|
||||
em, so the parent sets the scale with one font-size: full size in the header,
|
||||
smaller on phones and in the footer. */
|
||||
.brand-text {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
line-height: 1.15;
|
||||
}
|
||||
|
||||
.brand-name {
|
||||
font-size: 1.35em;
|
||||
font-weight: var(--font-weight-heading);
|
||||
letter-spacing: var(--letter-spacing-heading);
|
||||
}
|
||||
|
||||
.brand-school {
|
||||
font-size: 0.85em;
|
||||
font-weight: 600;
|
||||
}
|
||||
@@ -204,7 +204,7 @@
|
||||
</svg>
|
||||
<span class="brand-text">
|
||||
<span class="brand-name">Elternbeirat</span>
|
||||
<span class="brand-school">IGMH Mannheim</span>
|
||||
<span class="brand-school">der IGMH</span>
|
||||
</span>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
+2
-1
@@ -328,7 +328,8 @@ So erscheint ein Termin auf seiner Karte:
|
||||
(`19:30–21:00 Uhr`), bei mehrtägigen Terminen „bis …“ mit dem letzten Tag. Ein
|
||||
ganztägiger Termin (Uhrzeit `00:00`) ohne `end` zeigt keine Uhrzeit.
|
||||
- Darunter `location` und `note`. Auf der Startseite wird `note` nach zwei
|
||||
Zeilen abgeschnitten, auf `/events` steht sie ganz.
|
||||
Zeilen abgeschnitten, auf `/events` steht sie ganz. `note` ist reiner Text
|
||||
(kein Markdown); Zeilenumbrüche, die du mit Enter eingibst, bleiben erhalten.
|
||||
|
||||
Einen Einleitungstext über der Liste schreibst du in den `body` der Seite mit
|
||||
dem Slug `events` (unter `pages`); die Website fügt keinen eigenen hinzu.
|
||||
|
||||
Reference in new issue
Block a user