Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nicer style rules for margin around footnote defs
previous implementation used `:not(.fd) + .fd` and `.fd + :not(.fd)`, which is not only quite awkward, but the latter rule also applies padding to an arbitrary element (`:not(.fd)`), which makes it very hard to override in user styles. this commit replaces these awkward rules with much nicer `.fd:{first,last}-of-type`, which also describe exactly our usecase.
- Loading branch information