From: Radek Czajka Date: Tue, 21 Dec 2021 11:20:39 +0000 (+0100) Subject: Minor EPUB/MOBI fixes. X-Git-Tag: 2.3.2~1 X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/97987728a2c8ca9d3527d9ef34b5d84d8f28ead7?hp=363916f8a7a5a46585ef2779799ccd240dfca508 Minor EPUB/MOBI fixes. --- diff --git a/src/librarian/builders/epub.py b/src/librarian/builders/epub.py index 6fc0e74..902b460 100644 --- a/src/librarian/builders/epub.py +++ b/src/librarian/builders/epub.py @@ -303,6 +303,7 @@ class EpubBuilder(Builder): def add_toc(self): item = epub.EpubNav() + item.add_link(href='style.css', rel='stylesheet', type='text/css') self.output.add_item(item) self.output.spine.append(item) self.output.add_item(epub.EpubNcx()) diff --git a/src/librarian/epub/style.css b/src/librarian/epub/style.css index a740f85..dfd9fe7 100644 --- a/src/librarian/epub/style.css +++ b/src/librarian/epub/style.css @@ -51,6 +51,11 @@ a img { margin: 0; } + +nav#id li { + list-style: none; +} + /* =================================================== */ /* = Common elements: headings, paragraphs and lines = */ /* =================================================== */