diff options
Diffstat (limited to 'assets')
-rw-r--r-- | assets/_main.scss | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/assets/_main.scss b/assets/_main.scss index 0bf7fca..c6098c3 100644 --- a/assets/_main.scss +++ b/assets/_main.scss @@ -69,6 +69,16 @@ aside nav ul { } } +// Classes to hide nested levels of ToC/Menu +.levels-1 ul ul, +.levels-2 ul ul ul, +.levels-3 ul ul ul ul, +.levels-4 ul ul ul ul ul, +.levels-5 ul ul ul ul ul ul, +.levels-6 ul ul ul ul ul ul ul { + display: none; +} + ul.pagination { display: flex; justify-content: center; @@ -198,16 +208,6 @@ ul.pagination { nav > ul > li:first-child { margin-top: 0; } - - // Classes to hide nested levels of ToC (can be replaced by @for, but it's more clear like this) - &.level-1 ul ul, - &.level-2 ul ul ul, - &.level-3 ul ul ul ul, - &.level-4 ul ul ul ul ul, - &.level-5 ul ul ul ul ul ul, - &.level-6 ul ul ul ul ul ul ul { - display: none; - } } .book-footer { |