aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2020-04-21 22:30:00 +0200
committerAlex Shpak <alex-shpak@users.noreply.github.com>2020-04-21 22:30:00 +0200
commit66968582ef45a1c3c38f47477096e9417a774ce9 (patch)
tree4b675790dc85500027d557c2fa24581c26eda744 /assets
parentb88d5f6b12fa9ac179ed8f54c00acbd747a6546f (diff)
#205, Add details shortcode
Diffstat (limited to 'assets')
-rw-r--r--assets/_markdown.scss6
1 files changed, 6 insertions, 0 deletions
diff --git a/assets/_markdown.scss b/assets/_markdown.scss
index a6e5b9d..87e37c1 100644
--- a/assets/_markdown.scss
+++ b/assets/_markdown.scss
@@ -134,8 +134,14 @@
summary {
line-height: 1;
+ padding: $padding-16;
+ margin: -$padding-16;
cursor: pointer;
}
+
+ &[open] summary {
+ margin-bottom: 0;
+ }
}
}