From: Günter M. <mi...@us...> - 2022-10-28 11:19:50
|
Lines separating header and footer from the main part of the document were hard-coded as `<hr>` elements until [r8472] (cf. the changes to the test documents in this commit). This hard-coded line was replaced with CSS markup that retains the appearance used in the html4css1 writer but is easier to re-style. The "minimal.css" style sheet is intended to make all logical markup elements defined by Docutils/rST visually discernible. This is especially important for Docutils elements that do not have a HTML equivalent. Since HTML5, header and footer have a native HTML representation, however the default rendering in Mozilla and Chromium does nothing to make them stand out from the rest of the document. Removing the CSS definitions as proposed by the patch would break backwards compatibility for users of "minimal.css" together with a custom style sheet. --- ** [patches:#196] Revert header/footer borders in minimal.css** **Status:** open **Group:** None **Created:** Wed Oct 26, 2022 10:57 PM UTC by Ximin Luo **Last Updated:** Thu Oct 27, 2022 07:57 AM UTC **Owner:** nobody **Attachments:** - [4.patch](https://sourceforge.net/p/docutils/patches/196/attachment/4.patch) (654 Bytes; text/x-patch) These were uncommented in r8472 but that commit only talks about switching to html5 semantic tags, not changing the actual meaning of minimal.css I assume this is a mistake; it interferes with the purpose of this stylesheet as a minimal stylesheet, and plain.css overrides this later anyway with border:none. --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/patches/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/patches/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |