diff options
author | ot <ot@localhost> | 2007-03-14 07:43:51 +0000 |
---|---|---|
committer | ot <ot@localhost> | 2007-03-14 07:43:51 +0000 |
commit | 23aec5ab2819b1c67ea694e7d1037ed8891a3f82 (patch) | |
tree | 19f5fd8695ddfc2ebe4447c4bff9fef569a6c4a5 /htdocs | |
parent | 892c08c4a15b91bf694f90b6bee7aaef07cc78b1 (diff) | |
download | markup-validator-23aec5ab2819b1c67ea694e7d1037ed8891a3f82.zip markup-validator-23aec5ab2819b1c67ea694e7d1037ed8891a3f82.tar.gz markup-validator-23aec5ab2819b1c67ea694e7d1037ed8891a3f82.tar.bz2 |
showing blue and "gold" icons upon successful validation
Diffstat (limited to 'htdocs')
-rw-r--r-- | htdocs/config/types.conf | 49 | ||||
-rw-r--r-- | htdocs/style/results.css | 11 |
2 files changed, 52 insertions, 8 deletions
diff --git a/htdocs/config/types.conf b/htdocs/config/types.conf index 7c3321b..913aa13 100644 --- a/htdocs/config/types.conf +++ b/htdocs/config/types.conf @@ -1,7 +1,7 @@ # # Main Document Type Database for the W3C Markup Validation Service. # -# $Id: types.conf,v 1.22 2007-03-07 06:41:12 ot Exp $ +# $Id: types.conf,v 1.23 2007-03-14 07:43:50 ot Exp $ # # Maintains all information for each of the document types we support. # See 'perldoc Config::General' for the syntax, and be aware that the @@ -29,7 +29,8 @@ Preferred = text/html </Types> <Badge> - URI = http://validator.w3.org/images/vh20 + URI = http://www.w3.org/Icons/valid-html20 + ALT URI = http://www.w3.org/Icons/valid-html20-blue </Badge> </HTML_2_0> @@ -44,7 +45,8 @@ Preferred = text/html </Types> <Badge> - URI = http://validator.w3.org/images/vh20 + URI = http://www.w3.org/Icons/valid-html20 + ALT URI = http://www.w3.org/Icons/valid-html20-blue </Badge> </HTML_2_0_Level_2> @@ -59,7 +61,8 @@ Preferred = text/html </Types> <Badge> - URI = http://validator.w3.org/images/vh20 + URI = http://www.w3.org/Icons/valid-html20 + ALT URI = http://www.w3.org/Icons/valid-html20-blue </Badge> </HTML_2_0_Strict> @@ -74,7 +77,8 @@ Preferred = text/html </Types> <Badge> - URI = http://validator.w3.org/images/vh20 + URI = http://www.w3.org/Icons/valid-html20 + ALT URI = http://www.w3.org/Icons/valid-html20-blue </Badge> </HTML_2_0_Level_1> @@ -89,7 +93,8 @@ Preferred = text/html </Types> <Badge> - URI = http://validator.w3.org/images/vh20 + URI = http://www.w3.org/Icons/valid-html20 + ALT URI = http://www.w3.org/Icons/valid-html20-blue </Badge> </HTML_2_0_Strict_Level_1> @@ -108,6 +113,7 @@ </Types> <Badge> URI = http://www.w3.org/Icons/valid-html32 + ALT URI = http://www.w3.org/Icons/valid-html32-blue Height = 31 Width = 88 </Badge> @@ -130,6 +136,7 @@ </Types> <Badge> URI = http://www.w3.org/Icons/valid-html40 + ALT URI = http://www.w3.org/Icons/valid-html40-blue Height = 31 Width = 88 Alt = Valid HTML 4.0 Strict @@ -149,6 +156,7 @@ </Types> <Badge> URI = http://www.w3.org/Icons/valid-html40 + ALT URI = http://www.w3.org/Icons/valid-html40-blue Height = 31 Width = 88 Alt = Valid HTML 4.0 Transitional @@ -168,6 +176,7 @@ </Types> <Badge> URI = http://www.w3.org/Icons/valid-html40 + ALT URI = http://www.w3.org/Icons/valid-html40-blue Height = 31 Width = 88 Alt = Valid HTML 4.0 Frameset @@ -187,6 +196,7 @@ </Types> <Badge> URI = http://www.w3.org/Icons/valid-html401 + ALT URI = http://www.w3.org/Icons/valid-html401-blue Height = 31 Width = 88 Alt = Valid HTML 4.01 Strict @@ -206,6 +216,7 @@ </Types> <Badge> URI = http://www.w3.org/Icons/valid-html401 + ALT URI = http://www.w3.org/Icons/valid-html401-blue Height = 31 Width = 88 Alt = Valid HTML 4.01 Transitional @@ -225,6 +236,7 @@ </Types> <Badge> URI = http://www.w3.org/Icons/valid-html401 + ALT URI = http://www.w3.org/Icons/valid-html401-blue Height = 31 Width = 88 Alt = Valid HTML 4.01 Frameset @@ -245,6 +257,7 @@ </Types> <Badge> URI = http://www.w3.org/Icons/valid-xhtml10 + ALT URI = http://www.w3.org/Icons/valid-xhtml10-blue Height = 31 Width = 88 Alt = Valid XHTML 1.0 Strict @@ -265,6 +278,7 @@ </Types> <Badge> URI = http://www.w3.org/Icons/valid-xhtml10 + ALT URI = http://www.w3.org/Icons/valid-xhtml10-blue Height = 31 Width = 88 Alt = Valid XHTML 1.0 Transitional @@ -285,6 +299,7 @@ </Types> <Badge> URI = http://www.w3.org/Icons/valid-xhtml10 + ALT URI = http://www.w3.org/Icons/valid-xhtml10-blue Height = 31 Width = 88 Alt = Valid XHTML 1.0 Frameset @@ -304,7 +319,8 @@ Preferred = application/xhtml+xml </Types> <Badge> - URI = http://validator.w3.org/images/vxhtml-basic10 + URI = http://www.w3.org/Icons/valid-xhtmlbasic10 + ALT URI = http://www.w3.org/Icons/valid-xhtmlbasic10-blue Height = 31 Width = 88 Alt = Valid XHTML Basic 1.0 @@ -324,6 +340,14 @@ Allowed = application/xhtml+xml Preferred = application/xhtml+xml </Types> + <Badge> + URI = http://www.w3.org/Icons/valid-xhtmlprint10 + ALT URI = http://www.w3.org/Icons/valid-xhtmlprint10-blue + Height = 31 + Width = 88 + Alt = Valid XHTML-Print 1.0 + </Badge> + </XHTML-Print_1_0> <XHTML_1_1> @@ -340,6 +364,7 @@ </Types> <Badge> URI = http://www.w3.org/Icons/valid-xhtml11 + ALT URI = http://www.w3.org/Icons/valid-xhtml11-blue Height = 31 Width = 88 Alt = Valid XHTML 1.1 @@ -392,6 +417,13 @@ Allowed = application/mathml+xml Preferred = application/mathml+xml </Types> + <Badge> + URI = http://www.w3.org/Icons/valid-mathml20 + ALT URI = http://www.w3.org/Icons/valid-mathml20-blue + Height = 31 + Width = 88 + Alt = Valid MathML 2.0 + </Badge> </MathML_2> <XHTML_1.1_MathML_2> @@ -436,6 +468,7 @@ </Types> <Badge> URI = http://www.w3.org/Icons/valid-svg10 + ALT URI = http://www.w3.org/Icons/valid-svg10-blue Alt = Valid SVG 1.0 </Badge> </SVG_1_0> @@ -454,6 +487,7 @@ </Types> <Badge> URI = http://www.w3.org/Icons/valid-svg11 + ALT URI = http://www.w3.org/Icons/valid-svg11-blue Alt = Valid SVG 1.1 </Badge> </SVG_1_1> @@ -472,6 +506,7 @@ </Types> <Badge> URI = http://www.w3.org/Icons/valid-svgtiny11 + ALT URI = http://www.w3.org/Icons/valid-svgtiny11-blue Alt = Valid SVG 1.1 Tiny </Badge> </SVG_1_1_Tiny> diff --git a/htdocs/style/results.css b/htdocs/style/results.css index 3db2cf9..ec3cf82 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.5 2007-03-09 07:16:46 ot Exp $ */ +/* $Id: results.css,v 1.6 2007-03-14 07:43:50 ot Exp $ */ .input { color: black; @@ -279,8 +279,17 @@ td.invalid img.inline-badge { float: left; + padding: 10px; + margin-left: 3em; } +pre.badgeSnippet { + margin-left: 108px !important; /* give room to the image */ + padding-left: 3em; + font-size: x-small; + color: #777; + margin-bottom: 2em; +} p.backtop { color: #bbc; |