pub / zeitung

News-Aggregator in newspaper style as HTML/PDF/EPUB
git clone src.jayvii.de/pub/zeitung.git
Home | Log | Files | Exports | Refs | README | RSS

commit ca2b3da53107115f77080e706d503b9da8362ba9
parent cf1db6ea5ee6801c3281a53d9f27eca02cd453fa
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Wed, 29 Apr 2026 20:23:02 +0200

feat: styling for ebooks

Diffstat:
Mtemplates/style_epub.css | 16++++++++++++++++
1 file changed, 16 insertions(+), 0 deletions(-)

diff --git a/templates/style_epub.css b/templates/style_epub.css @@ -1,3 +1,19 @@ +/* page break before overview headlines */ +h1[id^="overview-"], +h2[id^="overview-"], +h3[id^="overview-"], +h4[id^="overview-"], +h5[id^="overview-"], +h6[id^="overview-"] { + page-break-before: always; +} + +/* page breaks after full articles */ hr { page-break-after: always; } + +/* block justify paragraphs */ +p { + text-align: justify; +}