diff options
author | Jeremiah Senkpiel <fishrock123@rocketmail.com> | 2016-04-12 20:26:21 +0300 |
---|---|---|
committer | Jeremiah Senkpiel <fishrock123@rocketmail.com> | 2016-04-29 20:27:18 +0300 |
commit | 0a3472613b5c8badf3cc2b37977354451f020f4e (patch) | |
tree | 4415b1c0b8e54da8399fcf0796bafc69b47e8b6e /doc/api_assets | |
parent | f11eee72b162ad6d8d97ba9a708f11320ea4c0ae (diff) |
doc: subdivide TOC, add auxiliary links
PR-URL: https://github.com/nodejs/node/pull/6167
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Robert Jefe Lindstädt <robert.lindstaedt@gmail.com>
Diffstat (limited to 'doc/api_assets')
-rw-r--r-- | doc/api_assets/style.css | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/doc/api_assets/style.css b/doc/api_assets/style.css index b093b2c3fe1..bb25c4d0a1f 100644 --- a/doc/api_assets/style.css +++ b/doc/api_assets/style.css @@ -92,6 +92,12 @@ em code { font-size: .8em; } +.line { + width: calc(100% - 1em); + display: block; + padding-bottom: 1px; +} + .api_stability { color: white !important; margin: 0 0 1em 0; @@ -207,6 +213,12 @@ header h1 { padding-top: 1em; } +#apicontent .line { + width: calc(50% - 1em); + margin: 1em 1em .95em; + background-color: #ccc; +} + #toc + h1 { margin-top: 1em; padding-top: 0; @@ -388,10 +400,22 @@ a code { #column2 ul { list-style: none; - margin: 1.25em 0; + margin: .9em 0 .5em; background: #333; } +#column2 > :first-child { + margin: 1.25em 1em; +} + +#column2 > ul:nth-child(2) { + margin: 1.25em 0 .5em; +} + +#column2 > ul:last-child { + margin: .9em 0 1.25em; +} + #column2 ul li { padding-left: 1.4em; margin-bottom: .5em; @@ -399,6 +423,11 @@ a code { font-size: .8em; } +#column2 .line { + margin: 0 .5em; + background-color: #707070; +} + #column2 ul li:last-child { margin-bottom: 0; } |