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

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2019-09-17 00:22:49 +0300
committerGitHub <noreply@github.com>2019-09-17 00:22:49 +0300
commit129bb08fc4d2c850ae71250371adf82a4441dc70 (patch)
tree4816ae6ce08538296928eec9a83a498359fd78eb /site/assets/scss/_toc.scss
parenta9c05ab798df7b1a40af41c25dd92faa84b13f99 (diff)
Use Hugo for our docs Sass and JS. (#29280)
Now there's only one command needed to run the docs: `npm run docs-serve`. Also, simplify the npm scripts.
Diffstat (limited to 'site/assets/scss/_toc.scss')
-rw-r--r--site/assets/scss/_toc.scss25
1 files changed, 25 insertions, 0 deletions
diff --git a/site/assets/scss/_toc.scss b/site/assets/scss/_toc.scss
new file mode 100644
index 0000000000..2ad4f8338d
--- /dev/null
+++ b/site/assets/scss/_toc.scss
@@ -0,0 +1,25 @@
+// stylelint-disable selector-max-type, selector-max-combinators, selector-max-compound-selectors
+
+.bd-toc nav {
+ padding-top: .125em;
+ padding-bottom: .125em;
+ border-left: .25em solid $gray-200;
+
+ > ul {
+ padding-left: .5rem;
+ margin-bottom: 0;
+ }
+
+ > ul > li {
+ display: block;
+ }
+
+ li ul li {
+ margin-bottom: .25rem;
+ list-style-type: disc;
+ }
+
+ a code {
+ font: inherit;
+ }
+}