aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2019-05-22 15:44:31 +0200
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-05-22 15:44:31 +0200
commitcf6720efadb6e3a4fc70499424ab6a754a9f22a7 (patch)
tree9972b5ac8a862653cf67b78f87c6fafb11b113aa
parent0e6864f5aad8072fbdcecaad48c0151d231b1d25 (diff)
Fix vertcal spacing in top level of menu and ToC
-rw-r--r--assets/book.scss5
1 files changed, 3 insertions, 2 deletions
diff --git a/assets/book.scss b/assets/book.scss
index 433970f..0a3ff4b 100644
--- a/assets/book.scss
+++ b/assets/book.scss
@@ -110,6 +110,7 @@ ul.pagination {
.book-section-flat {
margin-bottom: $padding-16 * 2;
+ margin-top: $padding-16 * 2;
> a,
> span {
@@ -143,8 +144,8 @@ ul.pagination {
@include fixed;
}
- nav > ul > li {
- margin: 0;
+ nav > ul > li:first-child {
+ margin-top: 0;
}
}