Docs: add CSS to improve left-hand nav nesting

This commit is contained in:
Lovell Fuller 2018-06-25 19:58:50 +01:00
parent 9c20ae383e
commit 1999c7103c
3 changed files with 8 additions and 0 deletions

View File

@ -8,6 +8,7 @@ test
.travis.yml .travis.yml
appveyor.yml appveyor.yml
mkdocs.yml mkdocs.yml
docs/css/
vendor vendor
.prebuildrc .prebuildrc
.nyc_output .nyc_output

5
docs/css/extra.css Normal file
View File

@ -0,0 +1,5 @@
/* Nest document subheadings in navigation */
ul.subnav ul:not(.subnav) {
padding-left: 2em;
font-size: 80%;
}

View File

@ -5,6 +5,8 @@ site_description: High performance Node.js image processing, the fastest module
copyright: <a href="https://pixelplumbing.com/">pixelplumbing.com</a> copyright: <a href="https://pixelplumbing.com/">pixelplumbing.com</a>
google_analytics: ['UA-13034748-12', 'sharp.pixelplumbing.com'] google_analytics: ['UA-13034748-12', 'sharp.pixelplumbing.com']
theme: readthedocs theme: readthedocs
extra_css:
- css/extra.css
markdown_extensions: markdown_extensions:
- toc: - toc:
permalink: True permalink: True