From a722f74fba012dd75a1785f00293dd040a32e48a Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Thu, 27 Feb 2020 22:58:15 +0100 Subject: #154, Add menu overlay over content to hide menu on click --- assets/_main.scss | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'assets/_main.scss') diff --git a/assets/_main.scss b/assets/_main.scss index 8effba6..1b3a924 100644 --- a/assets/_main.scss +++ b/assets/_main.scss @@ -324,6 +324,15 @@ aside nav, .markdown { opacity: 0.25; } + + .book-menu-overlay { + display: block; + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + } } #toc-control:checked + aside { -- cgit v1.2.3