Rename footnotes-list class to footnotes__list

This commit is contained in:
Helen Chong 2024-06-13 17:51:14 +08:00
parent fa38966821
commit 3641c15cea
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'
);
const renderRules = {

View File

@ -44,12 +44,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);
}