summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--htdocs/style/base.css14
-rw-r--r--htdocs/style/results.css24
-rw-r--r--share/templates/en_US/invalid.tmpl3
3 files changed, 27 insertions, 14 deletions
diff --git a/htdocs/style/base.css b/htdocs/style/base.css
index 9de2e8c..4fcc11b 100644
--- a/htdocs/style/base.css
+++ b/htdocs/style/base.css
@@ -5,7 +5,7 @@
Copyright 2000~2007 W3C (MIT, INRIA, Keio). All Rights Reserved.
See http://www.w3.org/Consortium/Legal/ipr-notice.html#Copyright
- $Id: base.css,v 1.6 2007-03-26 01:13:20 ot Exp $
+ $Id: base.css,v 1.7 2007-03-26 01:46:29 ot Exp $
*/
/*
@@ -91,8 +91,8 @@ h1 {
}
h2 {
- color: #777742;
- background: white;
+ color: #690;
+ background-color: white;
padding: 5px 15px;
margin-top: 30px;
margin-bottom: 20px;
@@ -103,8 +103,8 @@ h2 {
}
h3 {
- background-color: #fff;
- color: #777742;
+ color: #690;
+ background-color: white;
font-size: 1.1em;
padding: 2px 10px;
border-bottom: 1px dotted #aaaa77;
@@ -113,7 +113,7 @@ h3 {
}
h4 {
- color: #777742;
+ color: #690;
background-color: white;
font-weight: 600;
font-style: italic;
@@ -124,8 +124,8 @@ h4 {
}
h5,h6 {
- background-color: white;
color: #11111A;
+ background-color: white;
font-family: "Gill Sans", sans-serif;
font-weight: normal;
padding-left: 15px;
diff --git a/htdocs/style/results.css b/htdocs/style/results.css
index ac35169..dfabb9d 100644
--- a/htdocs/style/results.css
+++ b/htdocs/style/results.css
@@ -1,5 +1,5 @@
/* style sheet for the validator's results page */
-/* $Id: results.css,v 1.9 2007-03-23 03:52:21 ot Exp $ */
+/* $Id: results.css,v 1.10 2007-03-26 01:46:29 ot Exp $ */
.input {
color: black;
@@ -259,6 +259,18 @@ h2.valid, h2.invalid, h2.tentative_valid {
padding-bottom: .2em;
}
+/* the default color of the headings is green now,
+but we want to use it only for "congratulations"
+and stick to a neutral color for other headings */
+
+h3, h4 {
+ color: #777 !important;
+}
+
+h3#congrats {
+ color: #690 !important;
+}
+
.valid {
background-color: #55B05A;
color: white;
@@ -273,8 +285,8 @@ h2.valid, h2.invalid, h2.tentative_valid {
}
.invalid {
- background-color: #D23D24;
- color: white;
+ background-color: #D23D24 !important;
+ color: white !important;
}
td.valid {
@@ -282,10 +294,10 @@ td.valid {
color: #55B05A;
}
-td.invalid
+td.invalid, h3.invalid
{
- color: #D23D24;
- background-color: white;
+ color: #D23D24 !important;
+ background-color: white !important;
}
img.inline-badge {
diff --git a/share/templates/en_US/invalid.tmpl b/share/templates/en_US/invalid.tmpl
index d51bc5b..586563f 100644
--- a/share/templates/en_US/invalid.tmpl
+++ b/share/templates/en_US/invalid.tmpl
@@ -8,7 +8,8 @@
<div id="result">
-<h3>Validation Output:
+<h3 <TMPL_UNLESS NAME="VALID">class="invalid"</TMPL_UNLESS>
+>Validation Output:
<!-- this case where validation fails but no error is listed should never happen -->
<TMPL_IF NAME="number_of_errors_is_0">Invalid </TMPL_IF>
<TMPL_IF NAME="number_of_errors_is_1">1 Error</TMPL_IF>