mirror of
https://salsa.debian.org/kernel-team/kernel-handbook.git
synced 2026-01-16 23:12:12 +00:00
Add/override some stylesheet rules to work better for DocBook-generated HTML
This commit is contained in:
parent
5a73950758
commit
88fa33d2e9
3 changed files with 18 additions and 1 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
|
@ -3,6 +3,8 @@ kernel-handbook (1.0.22) UNRELEASED; urgency=medium
|
|||
* Just link to the GNU GPL without mentioning a filename or mailing address
|
||||
* Add and apply Debian stylesheet to HTML output
|
||||
* stylesheet.xsl: Use namespaced tags to allow embedding un-namespaced HTML
|
||||
* Add/override some stylesheet rules to work better for DocBook-generated
|
||||
HTML
|
||||
|
||||
-- Ben Hutchings <benh@debian.org> Mon, 26 Jun 2023 18:07:00 +0200
|
||||
|
||||
|
|
|
|||
15
static/kernel-handbook.css
Normal file
15
static/kernel-handbook.css
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
@import url('debian.css');
|
||||
|
||||
/* Duplicate the #content rule, because we use different ids */
|
||||
div.book, div.chapter {
|
||||
margin: 0 10px 0 52px;
|
||||
}
|
||||
|
||||
/* DocBook sets the "toc" class on both div and dl elements in a table
|
||||
* of contents. Override the properties we don't want to duplicate on
|
||||
* the dl. */
|
||||
div.toc dl.toc {
|
||||
border-bottom: none;
|
||||
margin: 0;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
|
@ -13,5 +13,5 @@
|
|||
<!-- Put each <term> on a separate line, with no other separator -->
|
||||
<xsl:param name="variablelist.term.break.after">1</xsl:param>
|
||||
<xsl:param name="variablelist.term.separator"/>
|
||||
<xsl:param name="html.stylesheet">debian.css</xsl:param>
|
||||
<xsl:param name="html.stylesheet">kernel-handbook.css</xsl:param>
|
||||
</xsl:stylesheet>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue