Skip to content

Commit

Permalink
Docs: add CSS to improve left-hand nav nesting
Browse files Browse the repository at this point in the history
  • Loading branch information
lovell committed Jun 25, 2018
1 parent 9c20ae3 commit 1999c71
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .npmignore
Expand Up @@ -8,6 +8,7 @@ test
.travis.yml
appveyor.yml
mkdocs.yml
docs/css/
vendor
.prebuildrc
.nyc_output
Expand Down
5 changes: 5 additions & 0 deletions docs/css/extra.css
@@ -0,0 +1,5 @@
/* Nest document subheadings in navigation */
ul.subnav ul:not(.subnav) {
padding-left: 2em;
font-size: 80%;
}
2 changes: 2 additions & 0 deletions mkdocs.yml
Expand Up @@ -5,6 +5,8 @@ site_description: High performance Node.js image processing, the fastest module
copyright: <a href="https://pixelplumbing.com/">pixelplumbing.com</a>
google_analytics: ['UA-13034748-12', 'sharp.pixelplumbing.com']
theme: readthedocs
extra_css:
- css/extra.css
markdown_extensions:
- toc:
permalink: True
Expand Down

0 comments on commit 1999c71

Please sign in to comment.