Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit00f4aba

Browse files
committed
Doc: sync functableentry markup choices with website style.
Jonathan Katz felt that slightly different indentation settings madefor a better-looking result, so sync stylesheet-fo.xsl (for PDF) andstylesheet.css (for non-website-style HTML) with those choices.Discussion:https://postgr.es/m/31464.1587156281@sss.pgh.pa.us
1 parentf332241 commit00f4aba

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

‎doc/src/sgml/stylesheet-fo.xsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@
8282
<!-- indent all but first line of entries in tables of functions-->
8383
<xsl:choose>
8484
<xsl:whentest="self::entry[@role='functableentry']">
85-
<xsl:attributename="margin-left">5em</xsl:attribute>
86-
<xsl:attributename="text-indent">-5em</xsl:attribute>
85+
<xsl:attributename="margin-left">4em</xsl:attribute>
86+
<xsl:attributename="text-indent">-3.5em</xsl:attribute>
8787
<xsl:attributename="text-align">left</xsl:attribute>
8888
</xsl:when>
8989
</xsl:choose>

‎doc/src/sgml/stylesheet.css

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,10 @@ div.example {
7878

7979
/* formatting for entries in tables of functions: indent all but first line */
8080

81-
th.functableentry {
82-
padding-left:5em;
83-
text-indent:-5em;
84-
text-align: left;
85-
}
86-
81+
th.functableentry,
8782
td.functableentry {
88-
padding-left:5em;
89-
text-indent:-5em;
83+
padding-left:4em;
84+
text-indent:-3.5em;
9085
text-align: left;
9186
}
9287

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp