diff options
author | Marcia Ramos <virtua.creative@gmail.com> | 2018-02-07 16:57:17 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2018-02-07 16:57:17 +0300 |
commit | ea893ce8953462e9843c3b8443914a7ff92ac308 (patch) | |
tree | c0b009908667e36cdebbb59b32f9d07e00144818 /content/assets/stylesheets/toc.scss | |
parent | 29a8cf3c2a6355955fbc17be8c2c84d9fd17dc25 (diff) |
Fix scss-lint
Diffstat (limited to 'content/assets/stylesheets/toc.scss')
-rw-r--r-- | content/assets/stylesheets/toc.scss | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/content/assets/stylesheets/toc.scss b/content/assets/stylesheets/toc.scss index 852e3522..e149d737 100644 --- a/content/assets/stylesheets/toc.scss +++ b/content/assets/stylesheets/toc.scss @@ -1,5 +1,5 @@ --- -version: 2 +version: 3 --- @import "variables"; @@ -8,29 +8,28 @@ version: 2 clear: both; } +// ToC styles .doc-nav { h4 { padding-bottom: 5px; } - li > a { - font-size: 14px; - } -} + > ul { + background: $body-background-color; + padding: 20px; + margin-top: 60px; -// ToC styles -.doc-nav > ul { - background: $body-background-color; - padding: 20px; - margin-top: 60px; + li { + list-style: none; - li { - list-style: none; + &::before { + content: "›\00a0"; + } - &::before { - content: "›\00a0"; + > a { + font-size: 14px; + } } - } } |