Changeset 7c1c987 in clfs-sysroot


Ignore:
Timestamp:
Jul 21, 2007, 8:23:58 AM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
master
Children:
b7f86eb
Parents:
f1f6d91
Message:

Updated top-index.xsl.

File:
1 edited

Legend:

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

    rf1f6d91 r7c1c987  
    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;}
     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;}
    3638
    37 h1, h2 {
     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%;}
     46h2 { font-size: 144%; text-align: center; }
     47h3 { font-size: 120%; }
     48h4 { font-size: 110%; }
    5049
    51 div.toc {
     50.toc {
    5251  padding-left: 1em;
    53   margin-top: 1em;
    5452}
    5553
    56 div.toc ul li h3, div.toc ul li h4 {
     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
     
    145139
    146140  <xsl:template match="title">
    147     <div>
    148       <h1 class="title">
    149         <xsl:value-of select="."/>
    150       </h1>
    151     </div>
    152     <div>
    153       <h2 class="subtitle">
    154         <xsl:text>Version &version;</xsl:text>
    155       </h2>
    156     </div>
     141    <h1 class="title">
     142      <xsl:value-of select="."/>
     143    </h1>
     144    <h2 class="subtitle">
     145      <xsl:text>Version &version;</xsl:text>
     146    </h2>
    157147  </xsl:template>
    158148
    159149  <xsl:template match="authorgroup">
    160     <div class="authorgroup">
    161       <h3 class="author">
    162         <xsl:value-of select="author[1]/firstname"/>
    163         <xsl:text> </xsl:text>
    164         <xsl:value-of select="author[1]/surname"/>
    165       </h3>
    166       <h3 class="author">
    167         <xsl:value-of select="author[2]/firstname"/>
    168         <xsl:text> </xsl:text>
    169         <xsl:value-of select="author[2]/surname"/>
    170       </h3>
    171       <h3 class="author">
    172         <xsl:value-of select="author[3]/firstname"/>
    173         <xsl:text> </xsl:text>
    174         <xsl:value-of select="author[3]/surname"/>
    175       </h3>
    176     </div>
     150    <h3 class="author">
     151      <xsl:value-of select="author[1]/firstname"/>
     152      <xsl:text> </xsl:text>
     153      <xsl:value-of select="author[1]/surname"/>
     154    </h3>
     155    <h3 class="author">
     156      <xsl:value-of select="author[2]/firstname"/>
     157      <xsl:text> </xsl:text>
     158      <xsl:value-of select="author[2]/surname"/>
     159    </h3>
     160    <h3 class="author">
     161      <xsl:value-of select="author[3]/firstname"/>
     162      <xsl:text> </xsl:text>
     163      <xsl:value-of select="author[3]/surname"/>
     164    </h3>
    177165  </xsl:template>
    178166
    179167  <xsl:template match="copyright">
    180     <div>
    181       <p class="copyright">
    182         <xsl:text>Copyright ©</xsl:text>
    183         <xsl:apply-templates/>
    184       </p>
    185     </div>
     168    <p class="copyright">
     169      <xsl:text>Copyright ©</xsl:text>
     170      <xsl:apply-templates/>
     171    </p>
    186172  </xsl:template>
    187173
     
    195181
    196182  <xsl:template match="bibliosource">
    197     <div>
    198       <p class="copyright">
    199         <em>
    200           <xsl:apply-templates/>
    201         </em>
    202       </p>
    203     </div>
     183    <p class="copyright">
     184      <em>
     185        <xsl:apply-templates/>
     186      </em>
     187    </p>
    204188  </xsl:template>
    205189
Note: See TracChangeset for help on using the changeset viewer.