diff options
author | Andrey Makarov <ph.makarov@gmail.com> | 2021-02-15 16:12:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-15 14:12:40 +0100 |
commit | 35bd39a9d0eef1396b2f6a562430ec63e36b7921 (patch) | |
tree | cf83fd97d39b7ae11663d965d6652603f2778247 /doc | |
parent | 56f5010fa405018d40c4416ffe86bd3aaa1cb75a (diff) | |
download | Nim-35bd39a9d0eef1396b2f6a562430ec63e36b7921.tar.gz |
RST: implement footnotes and citations (#16960)
* RST: implement footnotes and citations * manual fixup of nimdoc.out.css * remove unused code * shorter printing code * Update lib/packages/docutils/rst.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/nimdoc.css | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/nimdoc.css b/doc/nimdoc.css index c7523bddb..b3595d891 100644 --- a/doc/nimdoc.css +++ b/doc/nimdoc.css @@ -497,6 +497,19 @@ hr { border: 0; border-top: 1px solid #aaa; } +hr.footnote { + width: 25%; + border-top: 0.15em solid #999; + margin-bottom: 0.15em; + margin-top: 0.15em; +} +div.footnote-group { + margin-left: 1em; } +div.footnote-label { + display: inline-block; + min-width: 1.7em; +} + blockquote { font-size: 0.9em; font-style: italic; |