aboutsummaryrefslogtreecommitdiff
path: root/assets/_shortcode.scss
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2019-05-23 16:30:26 +0200
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-05-23 16:30:26 +0200
commit5437521798291b54dabb6645de0094e458c9c228 (patch)
tree82442ce353ef00a7f0e066bd4807f8a6d6bb1145 /assets/_shortcode.scss
parentc80bd79dcd8a4bea3a15061dc6e17a46d374d485 (diff)
#39, Finish columns shortcode, clean scss
Diffstat (limited to 'assets/_shortcode.scss')
-rw-r--r--assets/_shortcode.scss10
1 files changed, 8 insertions, 2 deletions
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;
+ }
+}