diff options
author | Miran <narimiran@disroot.org> | 2020-10-05 17:03:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-05 17:03:14 +0200 |
commit | 112b11c154af1f56b8c842b5723e6097d40d9e60 (patch) | |
tree | ae6f038d5f2b5f7a6ec175ef9bc44474b41e7aa3 /doc | |
parent | 5967b6f60f669f343ed089a4cd09f324cbfc5c69 (diff) | |
download | Nim-112b11c154af1f56b8c842b5723e6097d40d9e60.tar.gz |
group procs of the same name in TOC (#15487)
* group procs of the same name in TOC * correctly show `sink` parameters in TOC * no need to reinvent the wheel - `mgetorPut` exists * better setting of text color [ci skip] * fix CSS for better alignment
Diffstat (limited to 'doc')
-rw-r--r-- | doc/nimdoc.css | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/doc/nimdoc.css b/doc/nimdoc.css index fb9efd858..e0c5a1de4 100644 --- a/doc/nimdoc.css +++ b/doc/nimdoc.css @@ -154,10 +154,12 @@ body { margin-left: 0; } .three.columns { - width: 19%; } + width: 22%; + line-break: anywhere; +} .nine.columns { - width: 80.0%; } + width: 77.0%; } .twelve.columns { width: 100%; @@ -420,7 +422,7 @@ ul.simple-boot li { } ol.simple > li, ul.simple > li { - margin-bottom: 0.25em; + margin-bottom: 0.2em; margin-left: 0.4em } ul.simple.simple-toc > li { @@ -439,9 +441,19 @@ ul.simple-toc > li { ul.simple-toc-section { list-style-type: circle; - margin-left: 1em; + margin-left: 0.8em; color: #6c9aae; } +ul.nested-toc-section { + list-style-type: circle; + margin-left: -0.75em; + color: var(--text); +} + +ul.nested-toc-section > li { + margin-left: 1.25em; +} + ol.arabic { list-style: decimal; } |