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

validator/htdocs results.css,1.23,1.24

From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 01 Mar 2005 16:47:16 +0000
To: www-validator-cvs@w3.org
Message-ID: <E1D6AWi-00044K-DQ@lionel-hutz.w3.org>

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

Modified Files:
	results.css 
Log Message:
Changing css selectors to reflect the changes in markup for:
 - current position of error (code.input)
 - "warnings" (changes from div.Warnings to dl#warnings)
   + removing some unused style for warnings




Index: results.css
===================================================================
RCS file: /sources/public/validator/htdocs/results.css,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- results.css	16 Feb 2005 23:28:37 -0000	1.23
+++ results.css	1 Mar 2005 16:47:14 -0000	1.24
@@ -5,7 +5,7 @@
   color: black;
   background-color: #eee;
   font-family: "Bitstream Vera Sans Mono", monospace;
-  font-size: 10px;
+  font-size: small;
 }
 
 /* Various Bits of the Table Header */
@@ -72,11 +72,11 @@
   text-decoration: none;
 }
 
-ol#errors code {
+code.input {
   margin-bottom: 2ex;
 }
 
-ol#errors li p code strong {
+code.input strong {
   color: red;
   padding-left: .5ex;
   padding-right: .5ex;
@@ -93,7 +93,7 @@
 #source div {
   font-family: "Bitstream Vera Sans Mono", monospace;
   font-size: smaller;
-  background: #eee;
+  background: 1#eee;
   border: 1px solid black;
   margin: 1em;
 }
@@ -112,76 +112,34 @@
 /*
 */
 
-div.Warnings {
+dl#warnings {
   clear: left;
   padding: 0;
-  margin-right: 1em;
+  margin-right: 20px;
+  margin-left: 20px;
 }
 
 /* "Fatal" warnings... */
-div.Warnings div.fatal h3 {
-  background: #FCC;
-  border-top: 1px solid black;
-  border-right: 1px solid black;
-  border-bottom: 1px solid black;
-  padding: .5ex;
-  margin: 0;
-  margin-bottom: 1em;
-  float: left;
-  font-size: small;
-  font-weight: bolder;
-}
-
-div.Warnings div.fatal {
-  margin: 0 0 1ex 0;
-  padding: 0;
-  clear: left;
-}
-
-div.Warnings div.fatal div {
-  border: 5px solid #FCC;
-  margin: 0 0 0 1em;
-  padding: .5em 1em;
-}
-
-div.Warnings div.fatal p:first-child {
-  font-weight: bold;
-/*  font-size: normal; */
-  clear: left;
-}
-
-/* "note" warnings... */
-div.Warnings div.note h3 {
-  background: #053188;
-  color: white;
-  border-top: 1px solid black;
-  border-right: 1px solid black;
-  border-bottom: 1px solid black;
+dl#warnings dt {
+  background: #FA9084; /* based on color for .invalid, but washed out */
   padding: .5ex;
   margin: 0;
-  margin-bottom: 1em;
-  margin-right:  1em;
   float: left;
+  display: inline;
   font-size: small;
   font-weight: bolder;
 }
 
-div.Warnings div.note {
-  margin: 0 0 1ex 0;
-  padding: 0;
+dl#warnings dd {
   clear: left;
+  border-left: 2px solid #FA9084; /* based on color for dl#warnings dt */
+  margin-top: 0;
+  margin-left: 0;
+  padding-top: .5em;
 }
 
-div.Warnings div.note div {
-  margin: 0 0 0 1em;
-  padding: .5em 1em;
-}
-/* Not all warnings have a "p", but if they
-   do, the first one should be emphasized. */
-div.Warnings div.note p:first-child {
-  font-weight: bold;
-/*  font-size: normal; */
-  clear:       left;
+dl#warnings dd p:first-child {
+  /* font-weight: bold; */
 }
 
 
Received on Tuesday, 1 March 2005 16:47:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:54:48 GMT