Mercurial > p > roundup > code
diff doc/_static/style.css @ 8053:740c1c5d9ec4
docs: move first paragraph close to footnote return link
Footnotes used to look like:
[1]
first paragraph starts 1.2 em away because of default * + * spacing.
More paragraph lines. ...
It looks wrong. The return link should be closer to the first
paragraph so they are seen as more of a unit. Ideally the return link
'[1]' should be a hanging indent and all paragraphs for the footnote
should be indented. But I can't figure out how to do that. So tighten
up the space before the first paragraph.
[1]
So the first paragraph after the label starts right below it tying
the footnote to the text.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 02 Jul 2024 22:31:00 -0400 |
| parents | 878cec551d86 |
| children | 85aae98b8c82 |
line wrap: on
line diff
--- a/doc/_static/style.css Tue Jul 02 21:51:51 2024 -0400 +++ b/doc/_static/style.css Tue Jul 02 22:31:00 2024 -0400 @@ -489,6 +489,8 @@ padding-inline: 1em; } +aside.footnote > span + p { margin-block-start: unset; } + /* consider highlighting header element that is a target */ /* :target > :is(h1,h2,h3,h4,h5,h6) {
