From f85e525f2d3566a99994d0ecff798ea2f3c94116 Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Thu, 31 Jul 2025 18:08:41 +0200 Subject: [PATCH] Add .footnote1 class to classic classname footnotes style tweak These would be likely to show up after a calibre conversion. See . I'm not entirely sure to what extent it's wise to add, but we already have some equivalents after all. --- frontend/ui/data/css_tweaks.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/ui/data/css_tweaks.lua b/frontend/ui/data/css_tweaks.lua index bd15ad9a1..18dd23521 100644 --- a/frontend/ui/data/css_tweaks.lua +++ b/frontend/ui/data/css_tweaks.lua @@ -950,7 +950,8 @@ ol.references > li > .mw-cite-backlink { display: none; } Show footnotes with classic classnames at the bottom of pages. This tweak can be duplicated as a user style tweak when books contain footnotes wrapped with other class names.]]), css = [[ -.footnote, .footnotes, .fn, +.footnote, .footnote1, +.footnotes, .fn, .note, .note1, .note2, .note3, .ntb, .ntb-txt, .ntb-txt-j, .fnote, .fnote1,