--- test/html-webhacc/cc-style.css 2007/06/30 08:26:08 1.3
+++ test/html-webhacc/cc-style.css 2007/09/10 11:51:09 1.9
@@ -7,7 +7,7 @@
padding: 0.5em 1em;
}
-dt {
+dt, strong {
font-weight: bolder;
font-family: sans-serif;
}
@@ -15,6 +15,12 @@
content: ":";
}
+h1 {
+ font-weight: bolder;
+ font-family: sans-serif;
+ font-size: 180%;
+}
+
h2 {
margin: 0;
border-style: none;
@@ -24,6 +30,14 @@
font-size: 150%;
}
+h3 {
+ font-weight: bolder;
+ font-family: sans-serif;
+ font-size: 100%;
+ background-color: #fff0f0;
+ color: black;
+}
+
.tree-text q, .tree-cdata q, .tree-comment q {
display: block;
}
@@ -44,23 +58,33 @@
content: "";
}
+#parse-errors dl:empty:before {
+ content: "This document has no parse error.";
+ font-style: italic;
+}
+
+#document-errors dl:empty:before {
+ content: "This document has no document error.";
+ font-style: italic;
+}
+
#document-tree > ol {
margin-left: 0;
padding-left: 0;
}
#document-tree > ol > li {
- display: block;
+/* display: block;
list-style: none;
margin-left: 0;
- padding-left: 0;
+ padding-left: 0; */
}
-#document-tree ol ol {
+#document-tree ol /*ol*/ {
margin-left: 1em;
padding-left: 0;
}
-#document-tree ol ol li {
+#document-tree ol /*ol*/ li {
margin-left: 0;
padding-left: 0.4em;
}
@@ -79,6 +103,46 @@
font-size: 90%;
}
+#parse-errors dd, #document-errors dd, #error-description h3 {
+ margin-left: 20px;
+ padding-left: 40px;
+ min-height: 32px;
+ background-image: url(large-stop);
+ background-position: center left;
+ background-repeat: no-repeat;
+}
+
+#identifiers dd, #terms dd {
+ margin-left: 20px;
+ padding-left: 20px;
+ min-height: 20px;
+}
+
+#identifiers dd + dd, #terms dd + dd {
+ background-image: url(error);
+ background-position: center left;
+ background-repeat: no-repeat;
+}
+
+#error-description h3 {
+ margin-left: 1em;
+ margin-right: 1em;
+}
+
+#document-errors dd.should, #error-description .should h3 {
+ background-image: url(large-alert);
+}
+
+#document-errors dd.unsupported {
+ margin-left: 60px;
+ border: red 0.2em solid;
+ padding: 0.5em;
+}
+
+#document-errors dd.unsupported, #error-description .unsupported h3 {
+ background-image: none;
+}
+
#nav-items {
display: block;
position: fixed;
@@ -113,6 +177,74 @@
border-style: none;
}
+code {
+ font-family: "Courier New", "Courier", monospace;
+ letter-spacing: 0.1em;
+ background-color: transparent;
+ color: orangered;
+ white-space: -moz-pre-wrap;
+ white-space: pre-wrap;
+}
+
+.rfc2119 {
+ border-style: none;
+ text-transform: lowercase;
+ font-variant: small-caps;
+ font-style: normal;
+ text-decoration: none;
+ font-weight: normal;
+ font-family: sans-serif;
+}
+
+#result-summary table {
+ margin-left: auto;
+ margin-right: auto;
+ border: 3px solid #800080;
+ border-collapse: collapse;
+}
+
+#result-summary tbody, colgroup {
+ border: 3px solid #800080;
+}
+
+#result-summary th {
+ background-color: #fff0f0;
+ color: black;
+ font-weight: bolder;
+ font-family: sans-serif;
+}
+
+#result-summary th, #result-summary td {
+ border: 1px solid #800080;
+ padding: 0.2em 0.5em;
+ text-align: center;
+ empty-cells: show;
+}
+
+.uncertain td, p.uncertain {
+ background-color: #e1e1ff;
+ color: black;
+}
+
+.FAIL {
+ background-color: #ffcece;
+ color: black;
+}
+
+.SEE-RESULT {
+ background-color: #e1e1ff;
+ color: black;
+}
+
+.PASS {
+ background-color: #ddffdd;
+ color: black;
+}
+
+#result-para {
+ padding: 0.2em 1em;
+}
+
/*
Copyright 2007 Wakaba
@@ -120,6 +252,6 @@
This library is free software; you can redistribute it
and/or modify it under the same terms as Perl itself.
-$Date: 2007/06/30 08:26:08 $
+$Date: 2007/09/10 11:51:09 $
*/