From 66968582ef45a1c3c38f47477096e9417a774ce9 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Tue, 21 Apr 2020 22:30:00 +0200 Subject: #205, Add details shortcode --- assets/_markdown.scss | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'assets') 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; + } } } -- cgit v1.2.3