Changeset d38b5dd for stylesheets
- Timestamp:
- 09/10/2004 07:06:14 PM (20 years ago)
- Branches:
- 6.0
- Children:
- b87d573
- Parents:
- 9e2b55c
- Location:
- stylesheets
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/lfs.css
r9e2b55c rd38b5dd 111 111 } 112 112 113 li.preface {113 li.preface, li.appendix { 114 114 margin-left: 1em; 115 115 } … … 284 284 } 285 285 286 div.book, div.preface, div.part, div.chapter, div.sect1, div. index {286 div.book, div.preface, div.part, div.chapter, div.sect1, div.appendix, div.index { 287 287 padding-bottom: 0.5em; 288 288 } 289 289 290 div.preface h1, div.part h1, div.chapter h1, div.sect1 h1, div. index h1 {290 div.preface h1, div.part h1, div.chapter h1, div.sect1 h1, div.appendix h1, div.index h1 { 291 291 background: #f5f6f7; 292 292 border-bottom: .1em solid #dbddec; -
stylesheets/xhtml/lfs-titles.xsl
r9e2b55c rd38b5dd 28 28 <div class="titlepage"> 29 29 <h1 class="{name(.)}"> 30 <xsl:value-of select="title"/> 31 </h1> 32 </div> 33 </xsl:template> 34 35 <xsl:template name="appendix.titlepage"> 36 <div class="titlepage"> 37 <h1 class="{name(.)}"> 38 <xsl:apply-templates select="." mode="label.markup"/> 39 <xsl:text>. </xsl:text> 30 40 <xsl:value-of select="title"/> 31 41 </h1> … … 86 96 </xsl:template> 87 97 88 <!-- Harcoded a period for proper punctuation in xrefs. -->98 <!-- Added the role param for proper punctuation in xref calls. --> 89 99 <xsl:template match="*" mode="insert.title.markup"> 90 100 <xsl:param name="purpose"/> -
stylesheets/xhtml/lfs-toc.xsl
r9e2b55c rd38b5dd 94 94 </a> 95 95 </xsl:when> 96 <xsl:when test="local-name(.) = 'appendix'"> 97 <a> 98 <xsl:attribute name="href"> 99 <xsl:call-template name="href.target"> 100 <xsl:with-param name="context" select="$toc-context"/> 101 </xsl:call-template> 102 </xsl:attribute> 103 <xsl:variable name="label"> 104 <xsl:apply-templates select="." mode="label.markup"/> 105 </xsl:variable> 106 <xsl:copy-of select="$label"/> 107 <xsl:if test="$label != ''"> 108 <xsl:value-of select="$autotoc.label.separator"/> 109 </xsl:if> 110 <xsl:apply-templates select="." mode="titleabbrev.markup"/> 111 </a> 112 </xsl:when> 96 113 <xsl:when test="local-name(.) = 'chapter' or local-name(.) = 'preface'"> 97 114 <h4>
Note:
See TracChangeset
for help on using the changeset viewer.