aboutsummaryrefslogtreecommitdiff
path: root/assets/book.scss
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2019-04-22 19:17:39 +0200
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-04-22 19:17:39 +0200
commit0b30289d9f3520144bb37caa009d8953cde0e3d6 (patch)
tree0f9bb8c645db952484ae1d0d98f961142184c894 /assets/book.scss
parent0084e069de16a7b6c15f50edd7479e2e49fe0874 (diff)
#43, Update tree menu rendering to support multiple sections
Diffstat (limited to 'assets/book.scss')
-rw-r--r--assets/book.scss13
1 files changed, 13 insertions, 0 deletions
diff --git a/assets/book.scss b/assets/book.scss
index 7ba2bfa..83728a0 100644
--- a/assets/book.scss
+++ b/assets/book.scss
@@ -106,6 +106,18 @@ ul.pagination {
@include dark-links;
}
+.book-section-flat {
+ margin-bottom: $padding-16 * 2;
+
+ > a, > span {
+ font-weight: 600
+ }
+
+ > ul {
+ padding-left: 0;
+ }
+}
+
.book-page {
min-width: $body-min-width;
flex-grow: 1;
@@ -213,6 +225,7 @@ 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;