summaryrefslogtreecommitdiffstats
path: root/htdocs/docs.css
diff options
context:
space:
mode:
authorlink <link@localhost>2004-05-09 15:56:55 +0000
committerlink <link@localhost>2004-05-09 15:56:55 +0000
commit017b559b9d1db8a18f9ff4493bb5eae06639433e (patch)
tree8168bdfc9f1063af585cb03cc104ac31791b3ed9 /htdocs/docs.css
parent8121159457b0bce7d55a77faf6e84619cf678c37 (diff)
downloadmarkup-validator-017b559b9d1db8a18f9ff4493bb5eae06639433e.zip
markup-validator-017b559b9d1db8a18f9ff4493bb5eae06639433e.tar.gz
markup-validator-017b559b9d1db8a18f9ff4493bb5eae06639433e.tar.bz2
Merging from branch validator-0_6_0-branch, at tag validator-0_6_5-release.
Diffstat (limited to 'htdocs/docs.css')
-rw-r--r--htdocs/docs.css88
1 files changed, 88 insertions, 0 deletions
diff --git a/htdocs/docs.css b/htdocs/docs.css
new file mode 100644
index 0000000..6d0c2de
--- /dev/null
+++ b/htdocs/docs.css
@@ -0,0 +1,88 @@
+/*
+ Documentation Style Sheet for the W3C Markup Validation Service.
+
+ Copyright 2003 W3C (MIT, INRIA, Keio). All Rights Reserved.
+ See <http://www.w3.org/Consortium/Legal/ipr-notice.html#Copyright>
+
+ $Id: docs.css,v 1.2 2004-05-09 15:56:49 link Exp $
+*/
+
+/*
+ Please Note:
+ Every selector in this stylesheet should require a parent element with the
+ class ".doc" to avoid namespace clashes. Currently the class is set on a
+ "div" element, but there is no reason to limit it to that. i.e. use the
+ ".doc" selector as parent, not "div.doc".
+*/
+
+
+/* Margins common (relative) to multiple block elements. */
+.doc h4, .doc h5, .doc p, .doc pre, .doc ul, .doc table
+{
+ margin-left: 1em;
+ /* margin-right: 20%; */
+margin-right: 1em;
+}
+
+/* Set line height to 1.5x to allow for various inline decoration. */
+.doc {
+ line-height: 150%;
+}
+
+/* documentation - table of contents */
+#toc {
+ font-size: .8em;
+}
+
+.doc div#toc ul {
+ margin-left: 0;
+ margin-right: 0;
+}
+
+/* documentation - error explanations */
+dl#expl dt code { /* headings for an error */
+ white-space: normal;
+ font-weight: bold;
+}
+
+dl#expl dt {
+ border-top: 1px dashed black;
+ margin-top: 2em;
+ margin-bottom: 1em;
+}
+
+.doc dd {
+ margin-right: 0; /* no need for the extra margin if we nicely put the text of the dd in a paragraph */
+}
+.doc var { /* headings for an error */
+ color: #006;
+}
+
+/* A snippet of code used inline. */
+.doc code {
+ white-space: normal;
+ font-weight: bold;
+ color: #006;
+ display: inline;
+ padding-left: .2em;
+ padding-right: .2em;
+ background: #eef;
+ color: #337;
+ font-family: "Bitstream Vera Sans Mono", monospace;
+ border: 1px dotted #ccf;
+}
+
+.doc code.block {
+ display: block;
+ padding: 1em;
+ white-space: pre;
+ margin-top: 1em;
+ margin-bottom: 1em;
+ margin-right: 3em;
+}
+
+.doc code samp {
+ font-weight: normal;
+ color: black;
+ font-style: italic;
+}