1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +00:00

Override crazy browser defaults for h1 fontsize

Fixes #5311
This commit is contained in:
jeremy@jermolene.com 2020-12-24 10:37:54 +00:00
parent 8620b77b45
commit 7cb6dc0e4f

View File

@ -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 { h1, h2, h3, h4, h5, h6 {
line-height: 1.2; line-height: 1.2;
font-weight: 300; font-weight: 300;