mirror of
https://github.com/postgres/postgres.git
synced 2025-05-05 09:19:17 +03:00
Doc: sync functableentry markup choices with website style.
Jonathan Katz felt that slightly different indentation settings made for a better-looking result, so sync stylesheet-fo.xsl (for PDF) and stylesheet.css (for non-website-style HTML) with those choices. Discussion: https://postgr.es/m/31464.1587156281@sss.pgh.pa.us
This commit is contained in:
parent
f332241a60
commit
00f4aba46d
@ -82,8 +82,8 @@
|
|||||||
<!-- indent all but first line of entries in tables of functions -->
|
<!-- indent all but first line of entries in tables of functions -->
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="self::entry[@role='functableentry']">
|
<xsl:when test="self::entry[@role='functableentry']">
|
||||||
<xsl:attribute name="margin-left">5em</xsl:attribute>
|
<xsl:attribute name="margin-left">4em</xsl:attribute>
|
||||||
<xsl:attribute name="text-indent">-5em</xsl:attribute>
|
<xsl:attribute name="text-indent">-3.5em</xsl:attribute>
|
||||||
<xsl:attribute name="text-align">left</xsl:attribute>
|
<xsl:attribute name="text-align">left</xsl:attribute>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
|
@ -78,15 +78,10 @@ div.example {
|
|||||||
|
|
||||||
/* formatting for entries in tables of functions: indent all but first line */
|
/* formatting for entries in tables of functions: indent all but first line */
|
||||||
|
|
||||||
th.functableentry {
|
th.functableentry,
|
||||||
padding-left: 5em;
|
|
||||||
text-indent: -5em;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
td.functableentry {
|
td.functableentry {
|
||||||
padding-left: 5em;
|
padding-left: 4em;
|
||||||
text-indent: -5em;
|
text-indent: -3.5em;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user