cvs commit: LFS/BOOK/stylesheets lfs.css

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Tue May 25 12:54:43 PDT 2004


manuel      04/05/25 13:54:43

  Modified:    BOOK/stylesheets lfs.css
  Log:
  Some changes in the CSS code.
  
  Revision  Changes    Path
  1.8       +52 -34    LFS/BOOK/stylesheets/lfs.css
  
  Index: lfs.css
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/stylesheets/lfs.css,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- lfs.css	23 May 2004 19:59:48 -0000	1.7
  +++ lfs.css	25 May 2004 19:54:43 -0000	1.8
  @@ -3,6 +3,7 @@
     font-family: sans-serif;
     text-align: left;
     background: #fff;
  +  color: #333;
     margin: 1em;
     padding: 0;
     font-size: 1em;
  @@ -21,6 +22,7 @@
   }
   
   h3, h4, h5, h6 {
  +  color: #222;
   }
   
   h1 { font-size: 173%; text-align: center; }
  @@ -33,15 +35,16 @@
   /* Navigation */
   div.headertitles h4 {
     margin-bottom: 2px;
  +  text-align: center;
   }
   
   div.headertitles h3 {
     margin-top: 2px;
  +  text-align: center;
   }
   
   div.navheader, div.navfooter {
     background: #ecedef;
  -  text-align: center;
     padding: 0.1em 1em;
     border-bottom: 1px solid #dbddec;
   }
  @@ -53,7 +56,6 @@
   
   div.navheader ul, div.navfooter ul {
     padding: .2em;
  -  text-align: center;
     position: relative;
     background: #dbddec;
   }
  @@ -62,38 +64,35 @@
     display: inline;
   }
   
  -div.navheader ul li.prev a, div.navfooter ul li.prev a {
  -  position: absolute;
  -  left: 0;
  -  text-align: left;
  -  padding: 0 .5em;
  -}
  -
  -div.navheader ul li.prev p, div.navfooter ul li.prev p {
  +div.navheader ul li.prev, div.navfooter ul li.prev {
     position: absolute;
  +  display: block;
     left: 0;
     text-align: left;
  -  padding: 0 .5em;
  +  padding: 0.2em .5em;
  +  margin: 0;
   }
   
  -div.navheader ul li.next a, div.navfooter ul li.next a {
  +div.navheader ul li.next, div.navfooter ul li.next {
     position: absolute;
  +  display: block;
     right: 0;
     text-align: right;
  -  padding: 0 .5em;
  +  padding: 0.2em .5em;
  +  margin: 0;
   }
   
  +div.navheader ul li.prev p, div.navfooter ul li.prev p,
   div.navheader ul li.next p, div.navfooter ul li.next p {
  -  position: absolute;
  -  right: 0;
  -  text-align: right;
  -  padding: 0 .2em;
  +  padding: 0;
  +  margin: 1px 0px;
   }
   
   div.navheader ul li.home, div.navheader ul li.up,
   div.navfooter ul li.home, div.navfooter ul li.up {
  +  text-align: center;
     padding: 0;
  -  margin: 0;
  +  margin: 0px auto;
     display: block;
     color: #dbddec;
   }
  @@ -148,20 +147,22 @@
     margin: .5em;
   }
   
  -/* Monospaced elements */
  -tt, code, kbd, pre, .command {
  -  font-family: monospace;
  -  font-size: 1em;
  +/* variablelist & segmentedlist */
  +dl {
  +  margin: 0;
  +  padding: 0;
   }
   
  -pre.screen {
  -  background-color: #e5e5e5;
  -  padding: .2em 2em;
  -  margin: 0;
  +dt {
     font-weight: bold;
  +  margin: .33em 0 0 1em;
  +  padding: 0;
   }
   
  -/* variablelist & segmentedlist */
  +dd  {
  +  margin: 0 0 1em 3em;
  +  padding: 0;
  +}
   div.variablelist dd {
     margin-bottom: 1em;
   }
  @@ -170,6 +171,10 @@
     margin-top: 0px;
   }
   
  +dl.materials dd {
  +  margin-left: 0px;
  +}
  +
   div.segmentedlist {
     margin-top: 1em;
   }
  @@ -178,24 +183,34 @@
     margin: 0px auto;
   }
   
  -dl.materials dd {
  -  margin-left: 0px;
  -}
  -
   /* Indented blocks */
   p, ul, dl, code, blockquote {
     padding-left: 1em;
   }
   
  +/* Monospaced elements */
  +tt, code, kbd, pre, .command {
  +  font-family: monospace;
  +}
  +
  +pre.screen {
  +  color: #101310;
  +  background-color: #e5e5e5;
  +  border: 1px solid #050505;
  +  padding: .5em 1em;
  +  margin: 0 2em;
  +  font-weight: bold;
  +}
  +
   /* Sections */
   div.wrap h1 {
     background: #f5f6f7;
     padding: 0.5em 0 0.3em 0;
  -  border-bottom: 0.1em solid #dbddec;
     margin: 0;
   }
   
   div.package {
  +  background: #f5f6f7;
     border-bottom: 0.2em solid #dbddec;
     padding: 0 0.5em 0.3em 0.5em;
     margin: 0;
  @@ -207,12 +222,14 @@
   }
   
   div.configuration {
  +  background:   #fefefe;
     border-top: 0.2em solid #dbddec;
  -  padding: 0.5em 0.5em 0.5em 0.5em;
  +  padding: 0.5em;
     margin: 0.5em 0 .5em 0;
   }
   
   div.content {
  +  background: #f5f6f7;
     border-top: 0.2em solid #dbddec;
     padding: 0.5em 0.5em 0.5em 0.5em;
     margin: 0.5em 0 .5em 0;
  @@ -248,7 +265,7 @@
   div.authorgroup, div p.copyright, div.abstract {
     background: #f5f6f7;
     margin: 0px auto;
  -  padding:  0 0.5em;
  +  padding:  1em 0.5em;
   }
   
   hr {
  @@ -256,4 +273,5 @@
     height: .3em;
     border: 0px;
     margin: 0px auto;
  +  padding: 0;
   }
  
  
  



More information about the lfs-book mailing list