blog.grace.moe

Source for the blog blog.grace.moe
git clone https://git.grace.moe/blog.grace.moe
Log | Files | Refs

commit 0a1682d310961441c61c843be78fff3d60129194
parent 3b56cff832e78d62013410eb25b147264db7fbe2
Author: gracefu <81774659+gracefuu@users.noreply.github.com>
Date:   Thu,  1 May 2025 15:33:47 +0800

Make line-height 1 for headings

Diffstat:
Mlayouts/templates/base.shtml | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/layouts/templates/base.shtml b/layouts/templates/base.shtml @@ -102,6 +102,10 @@ p, ul, ol, menu, dl, pre { --hr-end: 1em; } +h1, h2, h3, h4, h5, h6 { + line-height: 1; +} + :is(.hierarchical *:not(.non-hierarchical *), .hierarchical-self):not(:is(ol, ul, dl, menu).tight > li > *):not(:first-child ):is( h1, h2, h3, h4, h5, h6,