From aba6c57d7a7d7a0618bd7b7f467fffb6596ee0bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Germ=C3=A1n=20Freixin=C3=B3s?= <14282156+germanfrelo@users.noreply.github.com> Date: Fri, 26 Sep 2025 19:16:55 +0200 Subject: [PATCH] feat: Remove h1 reset styles See: - whatwg/html#11102 - Chromium: https://issues.chromium.org/issues/394111284 - Gecko: https://bugzilla.mozilla.org/show_bug.cgi?id=1885509 - WebKit: https://bugs.webkit.org/show_bug.cgi?id=292765 --- base.css | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/base.css b/base.css index 42f5f9d..5e28225 100644 --- a/base.css +++ b/base.css @@ -108,16 +108,6 @@ body { /* Headings ================================================== */ -/* -✅ Ensure consistent 'h1' rendering. -Ref. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements#specifying_a_uniform_font_size_for_h1 -*/ - -:where(h1) { - margin-block: 0.67em; - font-size: 2em; -} - /* ✨ The default 'normal' line-height is tightly spaced, but takes font metrics into account, which is important for many fonts. Looser spacing may improve readability in latin type, but may cause problems in some scripts -- from cursive/fantasy fonts to Javanese, Persian, and CJK languages. */