gutenbergtools / ebookmaker

The Project Gutenberg tool to generate EPUBs and other ebook formats.
GNU General Public License v3.0
84 stars 18 forks source link

inadequately protecting PG header/footer CSS #165

Closed asylumcs closed 1 year ago

asylumcs commented 1 year ago

Though we now have a CSS block for the pg header and footer, it comes before the CSS block provided by the user and therefore is easily overwritten. In etext 70060 published today, the user has styled the <h2> to have a solid line above and below. They have styled the <p> tag to have text:justify. In both cases, the user's CSS affects the presentation of the PG header and footer adversely, as shown in the screenshot attached. 70060-h2-override

eshellman commented 1 year ago

partial fix in 0.12.30