aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2019-06-13 11:34:34 +0200
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-06-13 11:39:00 +0200
commit58e88071308f4ca19837244d0c90fdcb9b7de144 (patch)
treef993f69321cdafa8d25461da96cd785adbaafaea /assets
parenta82d579baea19ebaf17cca7f864c8393bb867e65 (diff)
Set heading padding in markdown to depend on font size
Diffstat (limited to 'assets')
-rw-r--r--assets/_markdown.scss4
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