diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-10-23 21:31:58 +0200 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-10-23 21:31:58 +0200 |
commit | 4596f08e323ce7ddb67d86705387115bc7e03045 (patch) | |
tree | d00cd25f4eda830156e66e1414e76bd226b448c7 /assets | |
parent | e03b9bccb113e3e5c9efbc7392a4cdce9bb5cbb5 (diff) |
Rename ToC level styles, reorganize example content
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 { |