diff options
author | Paul Twohey <twohey@users.noreply.github.com> | 2019-08-28 21:01:36 -0700 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-09-01 20:51:15 +0200 |
commit | 438f011ff52da9f09dfacd83c9693ee9ab07e7f8 (patch) | |
tree | e3ebe39a5bd5a8bb110f1256f8cb69ac55135a38 /assets | |
parent | 99bd271b3574a1242e9d28765952abe49d1ef0be (diff) |
fix menu, docs, and posts to work with strict Content-Security-Policy
When the Content-Security-Policy header has "style-src 'self';"
inine style elements like style="display: none" are not honored
by browsers, so style them display: none
Diffstat (limited to 'assets')
-rw-r--r-- | assets/book.scss | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/assets/book.scss b/assets/book.scss index 5922ab0..dfbfa17 100644 --- a/assets/book.scss +++ b/assets/book.scss @@ -54,6 +54,11 @@ img { vertical-align: baseline; } +// hide menu checkbox with CSS +#menu-control { + display: none; +} + aside nav ul { padding: 0; margin: 0; |