From 7cb6dc0e4fa98c61c510a71dba2ff95121661fba Mon Sep 17 00:00:00 2001 From: "jeremy@jermolene.com" Date: Thu, 24 Dec 2020 10:37:54 +0000 Subject: [PATCH] Override crazy browser defaults for h1 fontsize Fixes #5311 --- themes/tiddlywiki/vanilla/base.tid | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/themes/tiddlywiki/vanilla/base.tid b/themes/tiddlywiki/vanilla/base.tid index ddb6fa5e9..cab5a84aa 100644 --- a/themes/tiddlywiki/vanilla/base.tid +++ b/themes/tiddlywiki/vanilla/base.tid @@ -120,6 +120,15 @@ body.tc-body { """>> +/** + * Correct the font size and margin on `h1` elements within `section` and + * `article` contexts in Chrome, Firefox, and Safari. + */ + +h1 { + font-size: 2em; +} + h1, h2, h3, h4, h5, h6 { line-height: 1.2; font-weight: 300;