aboutsummaryrefslogtreecommitdiff
path: root/assets/_main.scss
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2019-12-14 13:38:27 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-12-14 13:38:27 +0100
commite30504802eff2a2f7cce86a40aa9f309d8ec5ca6 (patch)
tree2b79472da5b5a304f612ed0ae265b1c48a3366b4 /assets/_main.scss
parentc4232b6e28a9465256ee70a314ccd6659cc00eb1 (diff)
Add space between posts in list, clean posts class removal
Diffstat (limited to 'assets/_main.scss')
-rw-r--r--assets/_main.scss9
1 files changed, 5 insertions, 4 deletions
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;