From 8996266a61f923ad5cd228ab183e802b7afd0330 Mon Sep 17 00:00:00 2001 From: Vincent Mahnke Date: Sat, 7 Nov 2026 18:52:43 +0100 Subject: [PATCH] Fix: h1 should use fs-xxl on desktop and only reduce to fs-l on mobile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The root project's _custom.css was overriding the theme's custom CSS because it had fs-l as the base font size instead of fs-xxl. Now the default is fs-xxl with media query override for mobile (≤ 666px). --- assets/css/_custom.css | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/assets/css/_custom.css b/assets/css/_custom.css index 6230903..1c0f6a4 100644 --- a/assets/css/_custom.css +++ b/assets/css/_custom.css @@ -5,15 +5,22 @@ flex-shrink: 0; } -/* Header h1 styling - smaller and flexible */ +/* Header h1 styling - responsive sizing that grows with viewport */ .header__site-name { - font-size: var(--fs-l); + font-size: var(--fs-xxl); margin-block-start: 0; margin-block-end: 0; flex-shrink: 1; min-width: 0; } +/* Smaller on mobile only */ +@media (width <= 666px) { + .header__site-name { + font-size: var(--fs-l); + } +} + /* Logo scaling - smaller on mobile */ .header__logo-image { width: 50px;