Changeset de64fc88


Ignore:
Timestamp:
Jul 28, 2007, 3:37:01 AM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
fd5c672
Parents:
2baa4a3
Message:

Updated top-index.xsl.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/stylesheets/top-index.xsl

    r2baa4a3 rde64fc88  
    1919        <style type="text/css">
    2020          <xsl:text>
     21/* Global settings */
    2122body {
    22   font-family: sans-serif;
     23  font-family: verdana, tahoma, helvetica, arial, sans-serif;
    2324  text-align: left;
    2425  background: #fff;
    25   color: #333;
     26  color: #222;
    2627  margin: 1em;
    2728  padding: 0;
     
    3132
    3233a:link { color: #22b; }
    33 a:visited { color: #7e4988; }
    34 a:hover, a:focus { color: #d30e08; }
    35 a:active { color: #6b77b1;}
    36 
    37 h1, h2 {
     34a.ulink:link { font-weight: bold; color: #55f; }
     35a:visited { color: #7e4988 ! important; }
     36a:hover, a:focus { color: #d30e08 ! important; }
     37a:active { color: #6b77b1 ! important;}
     38
     39h1, h2 h3, h4 {
    3840  color: #000;
    3941  font-weight: bold;
    40 }
    41 
    42 h3, h4, h5, h6 {
    43   color: #222;
     42  line-height: 1em;
    4443}
    4544
    4645h1 { font-size: 173%; text-align: center; }
    47 h2 { font-size: 144%;  text-align: center; }
    48 h3 { font-size: 120%; padding-top: 0.2em; margin-top: 0.3em; }
    49 h4 { font-size: 110%;}
    50 
    51 div.toc {
     46h2 { font-size: 144%; text-align: center; }
     47h3 { font-size: 120%; }
     48h4 { font-size: 110%; }
     49
     50.toc {
    5251  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 {
    5755  margin: .4em;
    5856}
    5957
    60 div.book {
    61   padding-bottom: 0.5em;
    62 }
    63 
    64 div.book h1 {
     58.book h1 {
    6559  background: #f5f6f7;
    6660  margin: 0px auto;
     
    6862}
    6963
    70 div.book h2 {
     64.book h2 {
    7165  background: #dbddec;
    7266  margin: 0px auto;
    7367  padding: 0.2em;
    7468}
    75 div.authorgroup, div p.copyright {
     69.author, .copyright {
    7670  background: #f5f6f7;
    7771  margin: 0px auto;
    78   padding:  1em 0.5em;
     72  padding: 0.5em 1em;
    7973}
    8074
     
    215209
    216210  <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>
    227217  </xsl:template>
    228218
    229219  <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>
    242230  </xsl:template>
    243231
    244232  <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>
    251237  </xsl:template>
    252238
     
    260246
    261247  <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>
    269253  </xsl:template>
    270254
Note: See TracChangeset for help on using the changeset viewer.