Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcia Ramos <virtua.creative@gmail.com>2018-02-07 16:57:17 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2018-02-07 16:57:17 +0300
commitea893ce8953462e9843c3b8443914a7ff92ac308 (patch)
treec0b009908667e36cdebbb59b32f9d07e00144818 /content/assets/stylesheets/toc.scss
parent29a8cf3c2a6355955fbc17be8c2c84d9fd17dc25 (diff)
Fix scss-lint
Diffstat (limited to 'content/assets/stylesheets/toc.scss')
-rw-r--r--content/assets/stylesheets/toc.scss29
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;
+ }
}
-
}
}