mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2024-11-22 03:19:25 +00:00
Add space between posts in list, clean posts class removal
This commit is contained in:
parent
c4232b6e28
commit
e30504802e
@ -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;
|
||||
|
File diff suppressed because one or more lines are too long
@ -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="}}
|
Loading…
Reference in New Issue
Block a user