diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2019-11-07 20:30:55 +0300 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2019-11-07 20:30:55 +0300 |
commit | 2b55970615280f76263050f2b1df47f4b1ca65e8 (patch) | |
tree | a4f72bac9dccdefde65a0cb34c86f4a85efaf02c /css | |
parent | db1cb26e36ed08ff2083b0a15c950a4587c92545 (diff) |
Add more top spacing to h1 and h2
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'css')
-rw-r--r-- | css/prosemirror.scss | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/css/prosemirror.scss b/css/prosemirror.scss index 23dba148c..c16cfe929 100644 --- a/css/prosemirror.scss +++ b/css/prosemirror.scss @@ -49,12 +49,27 @@ div.ProseMirror { font-style: italic; } + h1, + h2, + h3, + h4, + h5, + h6 { + font-weight: 600; + line-height: 120%; + margin-top: 24px; + margin-bottom: 12px; + color: var(--color-main-text); + } + h1 { font-size: 36px; + margin-top: 48px; } h2 { font-size: 28px; + margin-top: 48px; } h3 { @@ -73,19 +88,6 @@ div.ProseMirror { font-size: 14px; } - h1, - h2, - h3, - h4, - h5, - h6 { - font-weight: 600; - line-height: 120%; - margin-top: 24px; - margin-bottom: 12px; - color: var(--color-main-text); - } - img { cursor: default; max-width: 100%; |