Skip to content

Commit d3014cc

Browse files
committed
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.
1 parent 556dae0 commit d3014cc

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

doc/_static/style.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,8 @@ table.valign-top tbody td { vertical-align: top; }
489489
padding-inline: 1em;
490490
}
491491

492+
aside.footnote > span + p { margin-block-start: unset; }
493+
492494
/* consider highlighting header element that is a target */
493495
/*
494496
:target > :is(h1,h2,h3,h4,h5,h6) {

website/www/_static/style.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,8 @@ table.valign-top tbody td { vertical-align: top; }
489489
padding-inline: 1em;
490490
}
491491

492+
aside.footnote > span + p { margin-block-start: unset; }
493+
492494
/* consider highlighting header element that is a target */
493495
/*
494496
:target > :is(h1,h2,h3,h4,h5,h6) {

0 commit comments

Comments
 (0)