Mercurial > p > roundup > code
comparison website/www/_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 | 586e49dda652 |
comparison
equal
deleted
inserted
replaced
| 8052:d54af8964fe3 | 8053:740c1c5d9ec4 |
|---|---|
| 487 font-size: smaller; | 487 font-size: smaller; |
| 488 margin-inline: 2em; | 488 margin-inline: 2em; |
| 489 padding-inline: 1em; | 489 padding-inline: 1em; |
| 490 } | 490 } |
| 491 | 491 |
| 492 aside.footnote > span + p { margin-block-start: unset; } | |
| 493 | |
| 492 /* consider highlighting header element that is a target */ | 494 /* consider highlighting header element that is a target */ |
| 493 /* | 495 /* |
| 494 :target > :is(h1,h2,h3,h4,h5,h6) { | 496 :target > :is(h1,h2,h3,h4,h5,h6) { |
| 495 background: rgb(254, 227, 227); | 497 background: rgb(254, 227, 227); |
| 496 outline: rgb(254, 227, 227) solid 3px; | 498 outline: rgb(254, 227, 227) solid 3px; |
