From 5f2cc877dfc04fc95b77c16c89ee71128126d163 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Sat, 13 Jun 2020 00:21:08 +0200 Subject: #229: Add height to body, for sticky elements --- assets/_main.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'assets/_main.scss') diff --git a/assets/_main.scss b/assets/_main.scss index df81cb5..6f9dd29 100644 --- a/assets/_main.scss +++ b/assets/_main.scss @@ -9,6 +9,7 @@ html, body { min-width: $body-min-width; overflow-x: hidden; + height: 100vh; // For sticky elements } body { @@ -321,8 +322,7 @@ aside nav, transform: translateX($menu-width); } - .book-header aside, - .markdown { + .book-page { opacity: 0.25; } -- cgit v1.2.3