commit: d1e4dbd4a0d4be63bb5928b5328357e41483fdda Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Tue Jan 14 22:41:17 2020 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Tue Jan 14 23:03:04 2020 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=d1e4dbd4
devmanual.css, devbook.xsl: Drop td.devbook. Use the bootstrap default instead. Custom handling for <th> has already been removed in commit a429f4c, drop it for <ti> as well. About the history of this: The vertical alignment was originally added to resolve bug 53500, see the variables table (e.g. the KEYWORDS line) in the archived page: https://web.archive.org/web/20040604000628/http://www.gentoo.org/doc/en/gentoo-howto.xml The class was later (commit cff18db) renamed from tableinfo to devbook. None of this seems to be necessary any more; vertical alignment is just fine with the bootstrap layout. Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> devbook.xsl | 2 +- devmanual.css | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/devbook.xsl b/devbook.xsl index 04987df..a85d81c 100644 --- a/devbook.xsl +++ b/devbook.xsl @@ -95,7 +95,7 @@ <!-- Table Item --> <xsl:template match="ti"> - <td class="devbook"> + <td> <xsl:if test="@colspan"> <xsl:attribute name="colspan"><xsl:value-of select="@colspan"/></xsl:attribute> </xsl:if> diff --git a/devmanual.css b/devmanual.css index bb89812..81e78de 100644 --- a/devmanual.css +++ b/devmanual.css @@ -24,10 +24,6 @@ code, pre { -moz-tab-size: 4; } -td.devbook { - vertical-align: top; -} - pre span.Special { color: magenta; } pre span.Identifier { color: blue; } pre span.Type { color: blue; }
