Changeset 8166
- Timestamp:
- 06/14/07 14:39:49 (1 year ago)
- Files:
-
- branches/new-xsl/lfs-nochunks.xsl (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/new-xsl/lfs-nochunks.xsl
r8138 r8166 58 58 <!-- The original template is in {docbook-xsl}/xhtml/admon.xsl --> 59 59 <xsl:template name="nongraphical.admonition"> 60 <div class="{name(.)}"> 61 <div class ="admonhead"> 62 <h3 class="admontitle"> 63 <xsl:apply-templates select="." mode="object.title.markup"/> 64 </h3> 65 </div> 66 <div class="admonbody"> 67 <xsl:apply-templates/> 68 </div> 60 <div class="admon {name(.)}"> 61 <h3> 62 <xsl:apply-templates select="." mode="object.title.markup"/> 63 </h3> 64 <xsl:apply-templates/> 69 65 </div> 70 66 </xsl:template> … … 79 75 <xsl:when test="string-length(title) = 0"/> 80 76 <xsl:otherwise> 81 < div class="titlepage">77 <h3 class="{name(.)}"> 82 78 <xsl:if test="@id"> 83 79 <a id="{@id}" name="{@id}"/> 84 80 </xsl:if> 85 <h3 class="{name(.)}"> 86 <xsl:if test="not(ancestor::preface) and $section.autolabel != 0"> 87 <xsl:apply-templates select="." mode="label.markup"/> 88 <xsl:text>. </xsl:text> 89 </xsl:if> 90 <xsl:value-of select="title"/> 91 </h3> 92 </div> 81 <xsl:if test="not(ancestor::preface) and $section.autolabel != 0"> 82 <xsl:apply-templates select="." mode="label.markup"/> 83 <xsl:text>. </xsl:text> 84 </xsl:if> 85 <xsl:value-of select="title"/> 86 </h3> 93 87 </xsl:otherwise> 94 88 </xsl:choose> … … 143 137 } 144 138 145 div.dedication .titlepage { 146 background: #fff; 147 } 148 149 div.dedication p { 150 padding-left: 2em; 139 div.dedication { 140 padding-left: 1em; 151 141 } 152 142 … … 305 295 } 306 296 307 . lfs .item + .indexref {308 margin-left: 18em;309 } 310 311 . lfs .secitem + .indexref {312 margin-left: 17em;313 } 314 315 . blfs.indexref {316 margin-left: 26em;297 .indexref { 298 display: block; 299 } 300 301 .item + .indexref { 302 margin-left: 30em; 303 } 304 305 .secitem + .indexref { 306 margin-left: 31em; 317 307 } 318 308 319 309 320 310 /* Admonitions */ 311 div.admon h3 { 312 padding-left: 2.5em; 313 padding-top: 1em; 314 } 315 316 div.admon p { 317 margin-left: .5em; 318 } 319 320 div.admon pre { 321 margin: 0.5em 3em; 322 } 323 321 324 div.note, div.tip { 322 325 background-color: #fffff6; … … 338 341 } 339 342 340 div.admonhead h3 {341 padding-left: 2.5em;342 padding-top: 1em;343 }344 345 div.admonbody {346 margin: .5em;347 }348 349 343 div.important em, div.warning em, div.caution em { 350 344 color: #000; … … 370 364 } 371 365 372 div.revhistory {366 .revhistory { 373 367 padding-left: 1em; 374 368 } 375 369 376 div.revhistory th {370 .revhistory th { 377 371 line-height: 2em; 378 372 text-align: left; 379 373 } 380 374 381 div.revhistory td {375 .revhistory td { 382 376 padding-right: 1em; 383 377 }
