From e30504802eff2a2f7cce86a40aa9f309d8ec5ca6 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Sat, 14 Dec 2019 13:38:27 +0100 Subject: Add space between posts in list, clean posts class removal --- assets/_main.scss | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'assets') diff --git a/assets/_main.scss b/assets/_main.scss index 23aece3..ea3e9c1 100644 --- a/assets/_main.scss +++ b/assets/_main.scss @@ -152,6 +152,10 @@ ul.pagination { padding: $padding-16; } +.book-post { + margin-bottom: $padding-16 * 2; +} + .book-header { margin-bottom: $padding-16; display: none; @@ -286,7 +290,6 @@ ul.pagination { // Responsive styles aside nav, .book-page, -.book-posts, .markdown { transition: 0.2s ease-in-out; transition-property: transform, margin-left, opacity; @@ -311,8 +314,7 @@ aside nav, #menu-control:checked + main { .book-menu nav, - .book-page, - .book-posts { + .book-page { transform: translateX($menu-width); } @@ -329,7 +331,6 @@ aside nav, // Extra space for big screens @media screen and (min-width: $container-max-width) { .book-page, - .book-posts, .book-menu nav, .book-toc nav { padding: $padding-16 * 2 $padding-16; -- cgit v1.2.3