Changeset 9fd2b20


Ignore:
Timestamp:
05/23/2004 07:59:49 PM (20 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
24789da
Parents:
5592479
Message:

Several changes in the CSS code and navigational stuff.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3700 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
stylesheets
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • stylesheets/lfs.css

    r5592479 r9fd2b20  
    44  text-align: left;
    55  background: #fff;
    6   color: #333;
    76  margin: 1em;
    87  padding: 0;
     
    2322
    2423h3, h4, h5, h6 {
    25   color: #222;
    26 }
    27 
    28 h1 { font-size: 200%; text-align: center; }
    29 h2 { font-size: 170%; padding-top: 0; margin-top: 0.5em; }
     24}
     25
     26h1 { font-size: 173%; text-align: center; }
     27h2 { font-size: 144%; padding-top: 0.2em; margin-top: 0.3em; }
    3028h2.subtitle { text-align: center; }
    31 h3 { font-size: 140%; }
     29h3 { font-size: 120%; }
    3230h4 { font-size: 110%;}
    3331h5, h6 { font-size: 110%; font-style: italic; }
     
    3533/* Navigation */
    3634div.headertitles h4 {
    37   margin-bottom: 0px;
     35  margin-bottom: 2px;
    3836}
    3937
    4038div.headertitles h3 {
    41   margin-top: 0px;
     39  margin-top: 2px;
    4240}
    4341
     
    4543  background: #ecedef;
    4644  text-align: center;
    47   padding: 0.2em 1em;
     45  padding: 0.1em 1em;
    4846  border-bottom: 1px solid #dbddec;
    4947}
     
    5553
    5654div.navheader ul, div.navfooter ul {
    57   padding: .3em;
     55  padding: .2em;
    5856  text-align: center;
    5957  position: relative;
     
    7270}
    7371
     72div.navheader ul li.prev p, div.navfooter ul li.prev p {
     73  position: absolute;
     74  left: 0;
     75  text-align: left;
     76  padding: 0 .5em;
     77}
     78
    7479div.navheader ul li.next a, div.navfooter ul li.next a {
    7580  position: absolute;
     
    7782  text-align: right;
    7883  padding: 0 .5em;
    79   background: #dbddec;
     84}
     85
     86div.navheader ul li.next p, div.navfooter ul li.next p {
     87  position: absolute;
     88  right: 0;
     89  text-align: right;
     90  padding: 0 .2em;
    8091}
    8192
     
    8596  margin: 0;
    8697  display: block;
     98  color: #dbddec;
    8799}
    88100
     
    118130/* Admonitions */
    119131div.admonition {
    120   border: medium solid;
     132  background-color: #fffff6;
     133  border: medium solid #600;
    121134  width: 90%;
    122135  margin: .5em auto;
     
    143156
    144157pre.screen {
    145   color: #600;
    146   background-color: #ffffe0;
    147   border: 1px solid #eeeed0;
    148   padding: .5em 2em;
     158  background-color: #e5e5e5;
     159  padding: .2em 2em;
    149160  margin: 0;
    150161  font-weight: bold;
     
    180191div.wrap h1 {
    181192  background: #f5f6f7;
    182   padding: 0.8em 0 0.5em 0;
     193  padding: 0.5em 0 0.3em 0;
     194  border-bottom: 0.1em solid #dbddec;
    183195  margin: 0;
    184196}
    185197
    186198div.package {
    187   background: #f5f6f7;
    188   border-bottom: .3em solid #dbddec;
    189   padding: 0 0.5em 1em 0.5em;
     199  border-bottom: 0.2em solid #dbddec;
     200  padding: 0 0.5em 0.3em 0.5em;
    190201  margin: 0;
    191202}
    192203
    193204div.installation {
    194   background:   #fefefe;
    195   padding: 0 0.5em 0.5em 0.5em;
    196   margin: .5em 0 .5em 0;
     205  padding: 0 0.5em 0.3em 0.5em;
     206  margin: 0.5em 0 0.5em 0;
     207}
     208
     209div.configuration {
     210  border-top: 0.2em solid #dbddec;
     211  padding: 0.5em 0.5em 0.5em 0.5em;
     212  margin: 0.5em 0 .5em 0;
    197213}
    198214
    199215div.content {
    200   background: #f5f6f7;
    201   border-top: .3em solid #dbddec;
    202   padding: 1em 0.5em 0.5em 0.5em;
    203   margin: .5em 0 .5em 0;
     216  border-top: 0.2em solid #dbddec;
     217  padding: 0.5em 0.5em 0.5em 0.5em;
     218  margin: 0.5em 0 .5em 0;
    204219}
    205220
    206221div.installation h2, div.content h2 {
    207   padding-top: 0.4em;
     222  padding-top: 0.3em;
    208223  margin: 0;
    209224}
    210225
    211226div.book, div.preface, div.part, div.chapter, div.sect1, div.index {
    212   background:   #fefefe;
    213227  padding-bottom: 0.5em;
    214228}
  • stylesheets/xhtml/lfs-navigational.xsl

    r5592479 r9fd2b20  
    5555                </xsl:call-template>
    5656              </a>
     57              <p>
     58                <xsl:value-of select="$prev/title"/>
     59              </p>
    5760            </li>
    5861          </xsl:if>
     
    7275                </xsl:call-template>
    7376              </a>
    74             </li>
    75           </xsl:if>
    76           <xsl:if test="count($up)&gt;0 and $up != $home">
     77              <p>
     78                <xsl:value-of select="$next/title"/>
     79              </p>
     80            </li>
     81          </xsl:if>
    7782            <li class="up">
    78               <a accesskey="u">
    79                 <xsl:attribute name="href">
    80                   <xsl:call-template name="href.target">
    81                     <xsl:with-param name="object" select="$up"/>
    82                   </xsl:call-template>
    83                 </xsl:attribute>
    84                 <xsl:attribute name="title">
    85                   <xsl:apply-templates select="$up" mode="object.title.markup"/>
    86                 </xsl:attribute>
    87                 <xsl:call-template name="navig.content">
    88                   <xsl:with-param name="direction" select="'up'"/>
    89                 </xsl:call-template>
    90               </a>
    91             </li>
    92           </xsl:if>
     83              <xsl:if test="count($up)&gt;0 and $up != $home">
     84                <a accesskey="u">
     85                  <xsl:attribute name="href">
     86                    <xsl:call-template name="href.target">
     87                      <xsl:with-param name="object" select="$up"/>
     88                    </xsl:call-template>
     89                  </xsl:attribute>
     90                  <xsl:attribute name="title">
     91                    <xsl:apply-templates select="$up" mode="object.title.markup"/>
     92                  </xsl:attribute>
     93                  <xsl:call-template name="navig.content">
     94                    <xsl:with-param name="direction" select="'up'"/>
     95                  </xsl:call-template>
     96                </a>
     97              </xsl:if>
     98              <xsl:text>.</xsl:text>
     99            </li>
    93100          <li class="home">
    94101            <a accesskey="h">
     
    140147                </xsl:call-template>
    141148              </a>
     149              <p>
     150                <xsl:value-of select="$prev/title"/>
     151              </p>
    142152            </li>
    143153          </xsl:if>
     
    157167                </xsl:call-template>
    158168              </a>
    159             </li>
    160           </xsl:if>
    161           <xsl:if test="count($up)&gt;0 and $up != $home">
     169              <p>
     170                <xsl:value-of select="$next/title"/>
     171              </p>
     172            </li>
     173          </xsl:if>
    162174            <li class="up">
    163               <a accesskey="u">
    164                 <xsl:attribute name="href">
    165                   <xsl:call-template name="href.target">
    166                     <xsl:with-param name="object" select="$up"/>
    167                   </xsl:call-template>
    168                 </xsl:attribute>
    169                 <xsl:attribute name="title">
    170                   <xsl:apply-templates select="$up" mode="object.title.markup"/>
    171                 </xsl:attribute>
    172                 <xsl:call-template name="navig.content">
    173                   <xsl:with-param name="direction" select="'up'"/>
    174                 </xsl:call-template>
    175               </a>
    176             </li>
    177           </xsl:if>
    178           <xsl:if  test="$home != .">
     175              <xsl:if test="count($up)&gt;0 and $up != $home">
     176                <a accesskey="u">
     177                  <xsl:attribute name="href">
     178                    <xsl:call-template name="href.target">
     179                      <xsl:with-param name="object" select="$up"/>
     180                    </xsl:call-template>
     181                  </xsl:attribute>
     182                  <xsl:attribute name="title">
     183                    <xsl:apply-templates select="$up" mode="object.title.markup"/>
     184                  </xsl:attribute>
     185                  <xsl:call-template name="navig.content">
     186                    <xsl:with-param name="direction" select="'up'"/>
     187                  </xsl:call-template>
     188                </a>
     189              </xsl:if>
     190              <xsl:text>.</xsl:text>
     191            </li>
    179192            <li class="home">
    180               <a accesskey="h">
    181                 <xsl:attribute name="href">
    182                   <xsl:call-template name="href.target">
    183                     <xsl:with-param name="object" select="$home"/>
    184                   </xsl:call-template>
    185                 </xsl:attribute>
    186                 <xsl:attribute name="title">
    187                   <xsl:value-of select="$home/bookinfo/title"/>
    188                   <xsl:text> - </xsl:text>
    189                   <xsl:value-of select="$home/bookinfo/subtitle"/>
    190                 </xsl:attribute>
    191                 <xsl:call-template name="navig.content">
    192                   <xsl:with-param name="direction" select="'home'"/>
    193                 </xsl:call-template>
    194               </a>
    195             </li>
    196           </xsl:if>
     193              <xsl:if  test="$home != .">
     194                <a accesskey="h">
     195                  <xsl:attribute name="href">
     196                    <xsl:call-template name="href.target">
     197                      <xsl:with-param name="object" select="$home"/>
     198                    </xsl:call-template>
     199                  </xsl:attribute>
     200                  <xsl:attribute name="title">
     201                    <xsl:value-of select="$home/bookinfo/title"/>
     202                    <xsl:text> - </xsl:text>
     203                    <xsl:value-of select="$home/bookinfo/subtitle"/>
     204                  </xsl:attribute>
     205                  <xsl:call-template name="navig.content">
     206                    <xsl:with-param name="direction" select="'home'"/>
     207                  </xsl:call-template>
     208                </a>
     209              </xsl:if>
     210              <xsl:text>.</xsl:text>
     211            </li>
    197212        </ul>
    198213      </div>
Note: See TracChangeset for help on using the changeset viewer.