aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Shine <shine.nick@gmail.com>2018-11-25 18:14:03 -0600
committerAlexander Shpak <alex-shpak@users.noreply.github.com>2018-11-26 16:25:08 +0100
commit2802bad9857ed073d19ff02e33422fc91748f768 (patch)
tree868b8ec06ccf80933807da54110f6124de034887
parent601bfabde12b406f56111736ee7ecd9447b893f8 (diff)
add smooth scrolling for table-of-content navigation by default
-rw-r--r--assets/book.scss1
1 files changed, 1 insertions, 0 deletions
diff --git a/assets/book.scss b/assets/book.scss
index 2032466..e817d38 100644
--- a/assets/book.scss
+++ b/assets/book.scss
@@ -5,6 +5,7 @@
html {
font-size: $font-size-base;
letter-spacing: 0.33px;
+ scroll-behavior: smooth;
}
html,