From 5437521798291b54dabb6645de0094e458c9c228 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Thu, 23 May 2019 16:30:26 +0200 Subject: #39, Finish columns shortcode, clean scss --- assets/_shortcode.scss | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'assets/_shortcode.scss') diff --git a/assets/_shortcode.scss b/assets/_shortcode.scss index 3174bc4..db62617 100644 --- a/assets/_shortcode.scss +++ b/assets/_shortcode.scss @@ -1,10 +1,10 @@ @import "variables"; .markdown-inner { - :first-child { + > :first-child { margin-top: 0; } - :last-child { + > :last-child { margin-bottom: 0; } } @@ -50,3 +50,9 @@ display: block; } } + +.book-columns > { + div + div { + margin-left: $padding-16 * 2; + } +} -- cgit v1.2.3