summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorPaul Twohey <twohey@users.noreply.github.com>2019-08-31 18:38:16 -0700
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-09-01 20:51:15 +0200
commit964968be39f7d70c12c41eb77c51e94e1c2ccd6a (patch)
tree49f1588411249a07038a05439a3b101cd78e5a10 /assets
parent438f011ff52da9f09dfacd83c9693ee9ab07e7f8 (diff)
use class="hidden" instead of creating new classes
Use class "hidden" instead of styled classes to ensure that input elments stay hidden when the Content-Security-Policy header has "style-src 'self';"
Diffstat (limited to 'assets')
-rw-r--r--assets/_shortcodes.scss8
-rw-r--r--assets/book.scss5
2 files changed, 0 insertions, 13 deletions
diff --git a/assets/_shortcodes.scss b/assets/_shortcodes.scss
index 70842b5..38e105f 100644
--- a/assets/_shortcodes.scss
+++ b/assets/_shortcodes.scss
@@ -31,10 +31,6 @@
padding: $padding-16;
}
- .book-expand-expander {
- display: none;
- }
-
input[type="checkbox"]:checked + .book-expand-content {
display: block;
}
@@ -60,10 +56,6 @@
cursor: pointer;
}
- .book-tabs-radio {
- display: none;
- }
-
.book-tabs-content {
order: 999; //Move content blocks to the end
width: 100%;
diff --git a/assets/book.scss b/assets/book.scss
index dfbfa17..5922ab0 100644
--- a/assets/book.scss
+++ b/assets/book.scss
@@ -54,11 +54,6 @@ img {
vertical-align: baseline;
}
-// hide menu checkbox with CSS
-#menu-control {
- display: none;
-}
-
aside nav ul {
padding: 0;
margin: 0;