From c195582c3da4aaa3c907e2d1b23bfae404577d74 Mon Sep 17 00:00:00 2001 From: julientaq <julientaq@gmail.com> Date: Fri, 24 Nov 2017 15:31:28 +0100 Subject: [PATCH] tweak note callouts, footnotes line-height and page numbering --- packages/Epub/themes/default.css | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/packages/Epub/themes/default.css b/packages/Epub/themes/default.css index 694ed9f..6112250 100644 --- a/packages/Epub/themes/default.css +++ b/packages/Epub/themes/default.css @@ -1824,6 +1824,8 @@ section { .dup:before { content: counter(page) "   "; + letter-spacing: 0px !important; + } .booktitle { @@ -1845,6 +1847,8 @@ section { .booktitle:after { content: "   " counter(page); + letter-spacing: 0px !important; + } @@ -1865,12 +1869,13 @@ section { .folio:after { content: counter(page); + letter-spacing: 0px !important; } /* layout body */ -h1.ct + .cst , .dup + .cst { +.ct + .cst , .dup + .cst { margin-top: -166px; margin-bottom: 111px; } @@ -2032,15 +2037,17 @@ sup { font-size: 11px; line-height: 15px; } - +/* .footnote { float: footnote; } - +*/ .inline-note-footer { float: footnote; - font-size: 10px; - line-height: 1; + margin-top: 0; + margin-bottom: 0; + font-size: 11px; + line-height: 15px; } .inline-note-number { @@ -2098,4 +2105,8 @@ ol.none , ul.none { cite { display: block; +} + +p.ct { + display: none; } \ No newline at end of file -- GitLab