Changeset de64fc88
- Timestamp:
- Jul 28, 2007, 3:37:01 AM (17 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- fd5c672
- Parents:
- 2baa4a3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/stylesheets/top-index.xsl
r2baa4a3 rde64fc88 19 19 <style type="text/css"> 20 20 <xsl:text> 21 /* Global settings */ 21 22 body { 22 font-family: sans-serif;23 font-family: verdana, tahoma, helvetica, arial, sans-serif; 23 24 text-align: left; 24 25 background: #fff; 25 color: # 333;26 color: #222; 26 27 margin: 1em; 27 28 padding: 0; … … 31 32 32 33 a:link { color: #22b; } 33 a:visited { color: #7e4988; } 34 a:hover, a:focus { color: #d30e08; } 35 a:active { color: #6b77b1;} 36 37 h1, h2 { 34 a.ulink:link { font-weight: bold; color: #55f; } 35 a:visited { color: #7e4988 ! important; } 36 a:hover, a:focus { color: #d30e08 ! important; } 37 a:active { color: #6b77b1 ! important;} 38 39 h1, h2 h3, h4 { 38 40 color: #000; 39 41 font-weight: bold; 40 } 41 42 h3, h4, h5, h6 { 43 color: #222; 42 line-height: 1em; 44 43 } 45 44 46 45 h1 { font-size: 173%; text-align: center; } 47 h2 { font-size: 144%; 48 h3 { font-size: 120%; padding-top: 0.2em; margin-top: 0.3em;}49 h4 { font-size: 110%; }50 51 div.toc {46 h2 { font-size: 144%; text-align: center; } 47 h3 { font-size: 120%; } 48 h4 { font-size: 110%; } 49 50 .toc { 52 51 padding-left: 1em; 53 margin-top: 1em; 54 } 55 56 div.toc ul li h3, div.toc ul li h4 { 52 } 53 54 .toc ul li h3, .toc ul li h4 { 57 55 margin: .4em; 58 56 } 59 57 60 div.book { 61 padding-bottom: 0.5em; 62 } 63 64 div.book h1 { 58 .book h1 { 65 59 background: #f5f6f7; 66 60 margin: 0px auto; … … 68 62 } 69 63 70 div.book h2 {64 .book h2 { 71 65 background: #dbddec; 72 66 margin: 0px auto; 73 67 padding: 0.2em; 74 68 } 75 div.authorgroup, div p.copyright {69 .author, .copyright { 76 70 background: #f5f6f7; 77 71 margin: 0px auto; 78 padding: 1em 0.5em;72 padding: 0.5em 1em; 79 73 } 80 74 … … 215 209 216 210 <xsl:template match="title"> 217 <div> 218 <h1 class="title"> 219 <xsl:value-of select="."/> 220 </h1> 221 </div> 222 <div> 223 <h2 class="subtitle"> 224 <xsl:text>Version &version;</xsl:text> 225 </h2> 226 </div> 211 <h1 class="title"> 212 <xsl:value-of select="."/> 213 </h1> 214 <h2 class="subtitle"> 215 <xsl:text>Version &version;</xsl:text> 216 </h2> 227 217 </xsl:template> 228 218 229 219 <xsl:template match="authorgroup"> 230 <div class="authorgroup"> 231 <h3 class="author"> 232 <xsl:value-of select="author[1]/firstname"/> 233 <xsl:text> </xsl:text> 234 <xsl:value-of select="author[1]/surname"/> 235 </h3> 236 <h3 class="author"> 237 <xsl:value-of select="author[2]/firstname"/> 238 <xsl:text> </xsl:text> 239 <xsl:value-of select="author[2]/surname"/> 240 </h3> 241 </div> 220 <h3 class="author"> 221 <xsl:value-of select="author[1]/firstname"/> 222 <xsl:text> </xsl:text> 223 <xsl:value-of select="author[1]/surname"/> 224 </h3> 225 <h3 class="author"> 226 <xsl:value-of select="author[2]/firstname"/> 227 <xsl:text> </xsl:text> 228 <xsl:value-of select="author[2]/surname"/> 229 </h3> 242 230 </xsl:template> 243 231 244 232 <xsl:template match="copyright"> 245 <div> 246 <p class="copyright"> 247 <xsl:text>Copyright ©</xsl:text> 248 <xsl:apply-templates/> 249 </p> 250 </div> 233 <p class="copyright"> 234 <xsl:text>Copyright ©</xsl:text> 235 <xsl:apply-templates/> 236 </p> 251 237 </xsl:template> 252 238 … … 260 246 261 247 <xsl:template match="bibliosource"> 262 <div> 263 <p class="copyright"> 264 <em> 265 <xsl:apply-templates/> 266 </em> 267 </p> 268 </div> 248 <p class="copyright"> 249 <em> 250 <xsl:apply-templates/> 251 </em> 252 </p> 269 253 </xsl:template> 270 254
Note:
See TracChangeset
for help on using the changeset viewer.