Add space between posts in list, clean posts class removal

This commit is contained in:
Alex Shpak 2019-12-14 13:38:27 +01:00
parent c4232b6e28
commit e30504802e
3 changed files with 7 additions and 6 deletions

View file

@ -152,6 +152,10 @@ ul.pagination {
padding: $padding-16; padding: $padding-16;
} }
.book-post {
margin-bottom: $padding-16 * 2;
}
.book-header { .book-header {
margin-bottom: $padding-16; margin-bottom: $padding-16;
display: none; display: none;
@ -286,7 +290,6 @@ ul.pagination {
// Responsive styles // Responsive styles
aside nav, aside nav,
.book-page, .book-page,
.book-posts,
.markdown { .markdown {
transition: 0.2s ease-in-out; transition: 0.2s ease-in-out;
transition-property: transform, margin-left, opacity; transition-property: transform, margin-left, opacity;
@ -311,8 +314,7 @@ aside nav,
#menu-control:checked + main { #menu-control:checked + main {
.book-menu nav, .book-menu nav,
.book-page, .book-page {
.book-posts {
transform: translateX($menu-width); transform: translateX($menu-width);
} }
@ -329,7 +331,6 @@ aside nav,
// Extra space for big screens // Extra space for big screens
@media screen and (min-width: $container-max-width) { @media screen and (min-width: $container-max-width) {
.book-page, .book-page,
.book-posts,
.book-menu nav, .book-menu nav,
.book-toc nav { .book-toc nav {
padding: $padding-16 * 2 $padding-16; padding: $padding-16 * 2 $padding-16;

View file

@ -1 +1 @@
{"Target":"book.min.daeb3603c687f9ac8113081371aff99b3a3a6406ce59d6f8e0a2d0e545b7bd24.css","MediaType":"text/css","Data":{"Integrity":"sha256-2us2A8aH+ayBEwgTca/5mzo6ZAbOWdb44KLQ5UW3vSQ="}} {"Target":"book.min.8ee891d8dd34fb8b09309d336809d47b0da3d2b94b945845deb52a04253304a4.css","MediaType":"text/css","Data":{"Integrity":"sha256-juiR2N00+4sJMJ0zaAnUew2j0rlLlFhF3rUqBCUzBKQ="}}