From 975e2d4b80ec2ddd89a782bd98dd9dcd6cf50912 Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Tue, 30 Mar 2021 19:13:37 +0200 Subject: [PATCH] Add DBNL footnotes styletweak (#7467) `.voetnoten` is standard in DBNL ebooks. A good test book can be found at . --- frontend/ui/data/css_tweaks.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/ui/data/css_tweaks.lua b/frontend/ui/data/css_tweaks.lua index 201eecf8d..dd716437d 100644 --- a/frontend/ui/data/css_tweaks.lua +++ b/frontend/ui/data/css_tweaks.lua @@ -796,7 +796,8 @@ This tweak can be duplicated as a user style tweak when books contain footnotes css = [[ .footnote, .footnotes, .fn, .note, .note1, .note2, .note3, -.ntb, .ntb-txt, .ntb-txt-j +.ntb, .ntb-txt, .ntb-txt-j, +.voetnoten { -cr-hint: footnote-inpage; margin: 0 !important; @@ -812,7 +813,8 @@ This tweak can be duplicated as a user style tweak when books contain footnotes css = [[ .footnote, .footnotes, .fn, .note, .note1, .note2, .note3, -.ntb, .ntb-txt, .ntb-txt-j +.ntb, .ntb-txt, .ntb-txt-j, +.voetnoten { -cr-hint: footnote-inpage; margin: 0 !important;