From 16105d8bcf74ea96a332c5d29d9d35d43b4629e5 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Thu, 13 Jun 2024 19:13:39 +0800 Subject: [PATCH] Restore default footnotes-list class name for footnotes list --- eleventy.config.md.js | 2 +- src/assets/css/plugins.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eleventy.config.md.js b/eleventy.config.md.js index 283b4b6c..95f35995 100644 --- a/eleventy.config.md.js +++ b/eleventy.config.md.js @@ -82,7 +82,7 @@ module.exports = function (eleventyConfig) {

Footnotes

\n` + - '
    \n' + '
      \n' ); markdownLibrary.renderer.rules.footnote_anchor = (tokens, idx, options, env, slf) => { diff --git a/src/assets/css/plugins.css b/src/assets/css/plugins.css index b798192d..df232cf7 100644 --- a/src/assets/css/plugins.css +++ b/src/assets/css/plugins.css @@ -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); }