aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2020-02-27 22:58:15 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2020-02-27 22:58:15 +0100
commita722f74fba012dd75a1785f00293dd040a32e48a (patch)
treea5b4afe1ce60cc7cbc4b0184ed4ab4bc8f6dce3b /assets
parent352ceea4111e4106d3e01ed5985822bb6f2e7ff4 (diff)
#154, Add menu overlay over content to hide menu on click
Diffstat (limited to 'assets')
-rw-r--r--assets/_main.scss9
1 files changed, 9 insertions, 0 deletions
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 {