Home fills the workspace column: greeting and search box centred at 800px, figures full width

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Claude-Session: https://claude.ai/code/session_016uwxqJYa21hKre6XME5eo1
This commit is contained in:
tobayah
2026-11-18 16:59:50 +01:00
co-authored by Claude Opus 5.5
parent 05d9169421
commit 4952a5361c
+11 -4
View File
@@ -73,11 +73,18 @@
.mi.h-gray { --mi-bg: #495057; --mi-fg: #f8f9fa; }
/* ── launcher: Home ────────────────────────────────────────────────────── */
.home { max-width: 760px; margin: 24px auto 0; }
/* Home takes the workspace's whole column, like every other page: the greeting and the search box stay
one readable 800px column in the middle, the numbers and the admin overview below use the full width.
:where() keeps this at one class, so the chatting rules (three classes) still win. */
.home { margin-top: 24px; }
.home > :where(.home-mark, .home-title, .home-sub, .banner, .home-answer, .home-box, .home-results, #homeKeys) {
max-width: 800px; margin-inline: auto;
}
.home-title, .home-sub { text-align: center; }
.home-mark { width: 48px; height: 48px; padding: 9px; border-radius: var(--at-radius-xl);
border: 1px solid var(--at-border); background: var(--at-surface); box-shadow: var(--at-shadow-xs); }
.home-mark .logo { width: 100%; height: 100%; display: block; }
.home-title { margin: 28px 0 0; font-size: 40px; line-height: 1.1; font-weight: 600; letter-spacing: -0.04em; }
.home-title { margin: 28px auto 0; font-size: 40px; line-height: 1.1; font-weight: 600; letter-spacing: -0.04em; }
.home-q { color: var(--at-text-muted); }
.home-sub { margin-top: 14px; color: var(--at-text-secondary); font-size: 15px; }
.home-label { display: flex; align-items: center; justify-content: space-between; gap: 12px;
@@ -374,7 +381,7 @@ button.nav-sep.fold[aria-expanded="false"] svg { transform: rotate(-90deg); }
/* ── home: "W skrócie" — stat tiles and 14-day column charts (inline SVG, no library) ── */
.home-stats:empty { display: none; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.stat {
display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid var(--border);
border-radius: var(--at-radius-xl); background: var(--surface); color: var(--text);
@@ -383,7 +390,7 @@ a.stat:hover { text-decoration: none; background: var(--at-surface-hover); }
.stat-v { font-size: 24px; font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.stat-l { font-size: 12px; color: var(--at-text-muted); }
.stat.warn .stat-v { color: var(--at-warning-text); }
.charts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin-top: 10px; }
.charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; margin-top: 10px; }
.card.chart { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.chart-h { display: flex; flex-direction: column; gap: 1px; }
.chart-h b { font-size: 13px; }