Session 2026-04-23: Desktop Multi-Column, Forum, Fixes, Analytics

- Desktop ≥1024px: page-container 680→860px
- Walks: Liste+Karte nebeneinander, View-Toggle ausgeblendet
- Forum: Rubriken 2-zeilig via CSS Grid (ceil(n/2) Spalten, zentriert)
- Welcome: max-width 920px, Feature-Sections 2-spaltig
- Wissen: Toggle-Mechanismus entfernt, Items immer sichtbar
- Übungen Plan-Karten: vertikal statt horizontal gestapelt
- Admin Analytics: Umami v2 gibt plain numbers statt {value:X}
- CSS-Spezifität: #page-forum nötig wegen layout.css < components.css
- SW by-v312, APP_VER 300
This commit is contained in:
rene 2026-04-23 17:52:28 +02:00
parent 44081a6b9d
commit 71a1371b44
10 changed files with 149 additions and 72 deletions

View file

@ -567,6 +567,89 @@
.grid-3 { grid-template-columns: 1fr 1fr; }
}
/* ============================================================
Desktop Multi-Column Layouts (min-width: 1024px)
============================================================ */
@media (min-width: 1024px) {
/* Etwas breiterer Standard-Container auf großen Screens */
.page-container { max-width: 860px; }
/* ----------------------------------------------------------
WELCOME: 2-spaltige Feature-Sections, zentrierter Hero
---------------------------------------------------------- */
.welcome-layout { max-width: 920px; }
.welcome-sections {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--space-4);
align-items: start;
}
.welcome-sections .card { margin-bottom: 0; }
/* ----------------------------------------------------------
WALKS: Liste (links) + Karte (rechts) nebeneinander
---------------------------------------------------------- */
#page-walks .page-container { max-width: none; }
.walks-layout {
flex-direction: row;
align-items: stretch;
}
/* View-Toggle auf Desktop nicht nötig */
.walks-view-toggle { display: none; }
/* Beide Panels immer sichtbar */
#walks-list-view,
#walks-map-view {
display: flex !important;
flex-direction: column;
}
#walks-list-view {
width: 340px;
flex-shrink: 0;
border-right: 1px solid var(--c-border-light);
}
#walks-map-view { flex: 1; }
/* Toolbar-Zeile kompakter da Toggle wegfällt */
#page-walks .by-toolbar { padding: var(--space-2) var(--space-4); }
/* ----------------------------------------------------------
FORUM: Rubriken über volle Breite, Threads darunter
---------------------------------------------------------- */
#page-forum .page-container { max-width: 1100px; }
/* Rubriken auf genau 2 Zeilen verteilen, zentriert
#page-forum nötig für Spezifität > .by-tabs (components.css lädt später) */
#page-forum .forum-category-tabs {
display: grid;
grid-template-columns: repeat(var(--forum-tab-cols, 7), minmax(0, 1fr));
overflow: visible;
gap: var(--space-1);
padding-bottom: var(--space-2);
}
#page-forum .forum-category-tabs .by-tab {
justify-content: center;
text-align: center;
white-space: nowrap;
}
/* Suche + Threads volle Breite */
.forum-main-col {
display: flex;
flex-direction: column;
gap: var(--space-3);
}
}
/* ============================================================
Phosphor Icons SVG Sprite
============================================================ */