cvs commit: www/test/style advanced.css

jeroen at linuxfromscratch.org jeroen at linuxfromscratch.org
Tue Sep 2 13:43:59 PDT 2003


jeroen      03/09/02 14:43:59

  Modified:    test/style advanced.css
  Log:
  Removed unnecessary and browser-breaking list styling.
  
  Revision  Changes    Path
  1.9       +12 -14    www/test/style/advanced.css
  
  Index: advanced.css
  ===================================================================
  RCS file: /home/cvsroot/www/test/style/advanced.css,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- advanced.css	2 Sep 2003 16:30:40 -0000	1.8
  +++ advanced.css	2 Sep 2003 20:43:59 -0000	1.9
  @@ -20,12 +20,12 @@
   
   img { border: none;}
   
  -a { background-color: transparent; color: #30c; text-decoration: none; border-bottom: 1px solid #30e;}
  -a:visited { background-color: transparent; color: #714; border-bottom: 1px solid #636;}
  -a:hover { background-color: transparent; color: #f60; border-bottom: 1px solid #e80;}
  +a { background-color: transparent; color: #30c; }
  +a:visited { background-color: transparent; color: #714; }
  +a:hover { background-color: transparent; color: #f60; }
   a:active { color: #0b0bfb;}
   
  -h1,h2,h3,h4,h5 { background-color: transparent; text-align: left; white-space: nowrap; padding: 0.2em 0 0 0; margin: 0; color:  #308; font-family: "Trebuchet MS", "Arial Narrow", "Bitstream Vera Serif", "Lucida Serif", serif;}
  +h1,h2,h3,h4,h5 { background-color: transparent; text-align: left; padding: 0.2em 0 0 0; margin: 0; color:  #308; font-family: "Trebuchet MS", "Arial Narrow", "Bitstream Vera Serif", "Lucida Serif", serif;}
   h2:target, h3:target, h4:target, h5:target {color: #f60;}
   li:target h3, li:target h4, li:target h5 {color: #f60}
   dt:target {color: #e80}
  @@ -41,8 +41,8 @@
   
   address { margin: 1em; padding: 1em; border: 1px solid #ddd; background-color: #eee;}
   
  -table, td { background-color: #ddd; border: solid 1px #ccc; margin: 1em; padding: 0.5em; width: 90%; \width: auto; /* Otherwise IE5 makes pages too wide */ w\idth: 90%;}
  -html>body table { width: 90%; }
  +table, td { background-color: #ddd; border: solid 1px #ccc; margin: .5em; padding: 0.5em; width: 99%; \width: auto; /* Otherwise IE5 makes pages too wide */ w\idth: 99%;}
  +html>body table { width: 99%; }
   td { background-color: #eee; width: auto;}
   td ul li { list-style-image: none; list-style-type: none; margin-left: -3em;}
   th { font-size: 116%; text-align: left; color:  #30a; font-family: "Trebuchet MS", "Arial Narrow", "Bitstream Vera Serif", "Lucida Serif", serif; padding: 0.2em 0.5em;}
  @@ -57,7 +57,7 @@
   blockquote p { font-family: "Bitstream Vera Sans Mono", "Andale Mono", "Lucida Console", "Lucida Sans", Arial, sans-serif; font-style: italic;}
   
   select, input {font-size: 100%;}
  -input:focus { background-color:#fff; color:#000;}
  +input:focus, textarea:focus { background-color:#fff; color:#000;}
   form table th { width: 30%; text-align: right;}
   form table td { background-color: #e3e3e3;}
   form table th.button { width: 100%; text-align: center;}
  @@ -66,9 +66,6 @@
   li ul li	{ list-style-type: none; list-style-image: none;}
   /* ol li { list-style-type: lower-alpha;} */
   
  -ol { counter-reset: item }
  -li:before { content: counters(item, ".") ". "; counter-increment: item }
  -
   /* Custom classes */
   
   ul.code  { border: 1px solid #222; background-color: #333444; color: #fafafa; font-weight: bold;}
  @@ -92,24 +89,25 @@
   
   #search input { background-color: #dfdfdf; color: #000; vertical-align: middle; font-size: 88%; padding: 0; margin: 0 0 5px 0;}
   #search i\nput { border: 1px solid #ccc; } /* Workaround for Konqueror, see http://centricle.com/ref/css/filters/ */
  -#search input:active, #searchinput:hover { background-color: #eee;}
  +#search input:hover { background-color: #eee;}
  +#search input:focus, #search textarea:focus { background-color:#fff; color:#000;}
   
   #content, #index, #rootcontent { background: #fafafa; color: #000; line-height: 1.4; border: 1px solid #aaa;}
   
  -#sectionnav ul, 
  +#sectionnav ul,
   #footer ul { margin: .5em 0; padding: 0;}
   #sectionnav li, #footer li, #pagenav li { list-style-type: none; list-style-image: none; display: inline;}
   
   #pagenav ul { padding: 0 0 .2em 1em; margin: .3em 0 .5em 0; text-align: right; border-top: 2px solid #cdcdcd;}
   #pagenav li a { margin: 0 0 0 .5em; font:	0.9em/3 "Bitstream Vera Sans", "Lucida Sans", arial, sans-serif;}
   
  -#sectionnav li a { margin: 0 1em; font-family: "Bitstream Vera Sans Mono", "Lucida Console", "Lucida Sans", "Andale Mono", Arial, sans-serif; font-size: 88%;}
  +#sectionnav li a { margin: 0 1em; font-family: "Bitstream Vera Sans Mono", "Lucida Console", "Lucida Sans", "Andale Mono", Arial, sans-serif; font-size: 88%; text-decoration: none;}
   
   #projectnav, #generalnav { border: 1px solid #aaa; padding: 2px; margin: 1em 0 0 0; background: #cccddd;}
   #projectnav ul, #generalnav ul { margin: 0;	/* Removes all list padding */ padding: 0;}
   #projectnav li, #generalnav li { list-style-type: none; list-style-image: none; margin: 0; padding: 1px 0; font-family: "Bitstream Vera Sans", "Lucida Sans", arial, sans-serif; line-height: 2;}
   #projectnav h2, #projectnav h3, #generalnav h3 { padding: 0; margin: 0; font-size: 108%; }
  -#projectnav li a, #generalnav li a { display: block; padding: 0 .25em; border: 1px solid #ccc; /* invisible border so hover doesn't shift the text */ font-size: 88%; color: #30a; }
  +#projectnav li a, #generalnav li a { display: block; padding: 0 .25em; border: 1px solid #ccc; /* invisible border so hover doesn't shift the text */ font-size: 88%; color: #30a; text-decoration: none; }
   #projectnav li a:visited, #generalnav li a:visited { text-decoration: none; color: #225;}
   #projectnav li a:hover, #generalnav li a:hover { background: #efefff; border-top: 1px solid #fff; border-left: 1px solid #fff; border-bottom: 1px solid #999; border-right: 1px solid #999; color: #f60;}
   #projectnav li a.currentpage, #generalnav li a.currentpage { border: 1px solid #fa6; font-weight: bold; background: #e6ebef; color: #e80;}
  
  
  



More information about the website mailing list