aboutsummaryrefslogtreecommitdiff
path: root/assets/_markdown.scss
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2019-04-22 19:17:39 +0200
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-04-22 19:17:39 +0200
commit0b30289d9f3520144bb37caa009d8953cde0e3d6 (patch)
tree0f9bb8c645db952484ae1d0d98f961142184c894 /assets/_markdown.scss
parent0084e069de16a7b6c15f50edd7479e2e49fe0874 (diff)
#43, Update tree menu rendering to support multiple sections
Diffstat (limited to 'assets/_markdown.scss')
-rw-r--r--assets/_markdown.scss11
1 files changed, 6 insertions, 5 deletions
diff --git a/assets/_markdown.scss b/assets/_markdown.scss
index fc8119c..8c4a1fa 100644
--- a/assets/_markdown.scss
+++ b/assets/_markdown.scss
@@ -5,14 +5,15 @@ $block-border-radius: 0.15rem;
.markdown {
line-height: 1.7;
- > :first-child {
- margin-top: 0;
- line-height: 1em;
- }
-
h1, h2, h3, h4, h5 {
font-weight: 400;
line-height: 1.25;
+
+ // remove padding at the beginning of page
+ &:first-child {
+ margin-top: 0;
+ line-height: 1em;
+ }
}
b, optgroup, strong {