Restore default footnotes-list class name for footnotes list

This commit is contained in:
Helen Chong 2024-06-13 19:13:39 +08:00
parent feb54bf562
commit 16105d8bcf
2 changed files with 3 additions and 3 deletions

View File

@ -82,7 +82,7 @@ module.exports = function (eleventyConfig) {
<h2 id="footnotes" class="footnotes__title">Footnotes</h2>
<a class="heading-anchor" href="#footnotes" aria-labelledby="footnotes"><span hidden="">#</span></a>
</div>\n` +
'<ol class="footnotes__list">\n'
'<ol class="footnotes-list">\n'
);
markdownLibrary.renderer.rules.footnote_anchor = (tokens, idx, options, env, slf) => {

View File

@ -48,12 +48,12 @@
padding-top: 1em;
}
.footnotes__list {
.footnotes-list {
display: grid;
gap: 0.3em;
}
.footnotes__list :target {
.footnotes-list :target {
background-color: var(--clr-quote-bg);
outline: 0.1em dashed var(--clr-title-border);
}