W3C home > Mailing lists > Public > www-validator-cvs@w3.org > January 2005

validator/htdocs base.css,1.35,1.36 navbar.css,1.11,1.12

From: Olivier Thereaux <ot@dev.w3.org>
Date: Fri, 07 Jan 2005 05:44:56 +0000
To: www-validator-cvs@w3.org
Message-ID: <E1Cmmvg-0003hF-Qh@lionel-hutz.w3.org>

Update of /sources/public/validator/htdocs
In directory hutz:/tmp/cvs-serv14097

Modified Files:
	base.css navbar.css 
Log Message:
- first pass at cleaning up base font sizes
- removing hard limit on width, replacing with flexible margins
- adding line-heights to menu to make it scale when window smaller than text width



Index: navbar.css
===================================================================
RCS file: /sources/public/validator/htdocs/navbar.css,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- navbar.css	4 Jan 2005 08:37:53 -0000	1.11
+++ navbar.css	7 Jan 2005 05:44:54 -0000	1.12
@@ -11,14 +11,14 @@
 #menu {
         background-color: #053188;
         background-image:url(images/bg2.gif);
-        width: 780px;
         margin: 0;
         padding: 0;
-        margin-left: 72px;
+        margin-left: 42px;
         padding-top:8px;
+        padding-bottom: 8px;
+        line-height: 140%;
         vertical-align: bottom;
-        font-size: 10px;
-        height: 20px;
+        font-size: 0.9em;
         list-style-type: none;
         border-left: 1px solid #053188;
         border-right: 1px solid #053188;
@@ -51,7 +51,7 @@
     border-left:     1px solid black;
     border-bottom:    1px solid black;
     margin-top:       -15px; 
-    font-size: 10px;
+    font-size: 0.9em;
     font-weight:      bold;
 }
 
@@ -81,7 +81,6 @@
   width: 8em;
   padding: 2px 0px;
   margin: 0;
-  font-size: smaller;
   border-top: dotted 1px #053188;
 }
 

Index: base.css
===================================================================
RCS file: /sources/public/validator/htdocs/base.css,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- base.css	4 Jan 2005 08:37:53 -0000	1.35
+++ base.css	7 Jan 2005 05:44:54 -0000	1.36
@@ -22,13 +22,15 @@
 
 body {  
     margin: auto auto;
+    padding-left: 5%;
+    padding-right: 5%;
     background-image: url(http://www.w3.org/Icons/logo-WMVS.png);
     background-attachment: fixed;
     background-position: 0 20px;
     background-repeat: no-repeat;
     color: #33333E;
     font-family: Helvetica, Arial, sans-serif;
-    font-size: 12px;
+    font-size: 1em; /* setting base font to user's prefered size */
 }
 
 /*                                                   
@@ -42,12 +44,11 @@
     background-attachment: scroll;
     background-position: top right;
     padding: 0;
-    margin-top: 20px;
-    margin-left: 72px;
-    margin-right: 0;
-    margin-bottom: 0;
     height: 50px;
-    width: 780px;
+    margin-bottom: 0;
+    margin-top: 20px;
+    margin-left: 42px;
+/*    width: 780px; */
     border-bottom: 0;
     border-top: 1px solid #053188;
     border-left: 1px solid #053188;
@@ -57,15 +58,16 @@
 #banner h1 { 
     height: 50px;
     vertical-align: middle;
-    font-size: 20px;
+    font-size: 1.5em;
     display: inline;
 }
 
 #main, address { 
     margin: 0;
-    margin-left: 72px;
-    width: 750px;
+    margin-left: 42px;
     padding: 15px;
+    padding-left: 5%;
+    padding-right: 5%;
     background: white;
     border: 1px solid #053188;
 }
@@ -103,7 +105,6 @@
     font-weight: bold;
     font-style: normal;
     text-decoration: none;
-    font-size: 18px;
 }
 
 h2 { 
@@ -112,14 +113,14 @@
     padding-bottom: 5px;
     margin-top: 20px;
     margin-bottom: 20px;
-    font-size: 14px;
-    margin-left: -10px;
+    font-size: 1.1em;
+    margin-left: -5%;
     text-decoration: none;
 }
 
 h3 {
     color: #C65831;
-    font-size: 12px;
+    font-size: 1em;
     text-decoration: none;
 } 
 
@@ -128,7 +129,7 @@
     font-weight: 600;
     font-style: normal;
     text-decoration: underline;
-    font-size: 10px;
+    font-size: 0.9em;
 }
 
 /* 
@@ -199,7 +200,7 @@
 p.copyright {
   margin-top:     20px;
   width: 500px;
-  font-size:      9px;
+  font-size:      x-small;
   text-align:     justify;
   text-transform: uppercase;
   margin-left:    222px;
@@ -248,4 +249,4 @@
 input.default {
     text-align: center;
     font-weight: bold;
-}
\ No newline at end of file
+}
Received on Friday, 7 January 2005 05:44:56 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:19 UTC