diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-06-13 11:34:34 +0200 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-06-13 11:39:00 +0200 |
commit | 58e88071308f4ca19837244d0c90fdcb9b7de144 (patch) | |
tree | f993f69321cdafa8d25461da96cd785adbaafaea /assets | |
parent | a82d579baea19ebaf17cca7f864c8393bb867e65 (diff) |
Set heading padding in markdown to depend on font size
Diffstat (limited to 'assets')
-rw-r--r-- | assets/_markdown.scss | 4 |
1 files changed, 2 insertions, 2 deletions
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 |