From 438f011ff52da9f09dfacd83c9693ee9ab07e7f8 Mon Sep 17 00:00:00 2001 From: Paul Twohey Date: Wed, 28 Aug 2019 21:01:36 -0700 Subject: 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 --- assets/book.scss | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'assets/book.scss') 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; -- cgit v1.2.3