From 58e88071308f4ca19837244d0c90fdcb9b7de144 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Thu, 13 Jun 2019 11:34:34 +0200 Subject: Set heading padding in markdown to depend on font size --- assets/_markdown.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'assets/_markdown.scss') diff --git a/assets/_markdown.scss b/assets/_markdown.scss index 3814028..5c1139a 100644 --- a/assets/_markdown.scss +++ b/assets/_markdown.scss @@ -8,8 +8,8 @@ $block-border-radius: 0.15rem; h1, h2, h3, h4, h5 { font-weight: normal; line-height: 1; - margin-top: $padding-16 * 2; - margin-bottom: $padding-8; + margin-top: 1.5em; + margin-bottom: $padding-16; } // remove padding at the beginning of page -- cgit v1.2.3