summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorot <ot@localhost>2004-11-16 05:19:49 +0000
committerot <ot@localhost>2004-11-16 05:19:49 +0000
commita101042533ecac1976788923eaccdd0192c61e18 (patch)
treeaefccbf3e74a0caf11b3884a606ecdf7c28bfaba
parent12f87345caf5e3614489c89829249e77f805f577 (diff)
downloadmarkup-validator-a101042533ecac1976788923eaccdd0192c61e18.zip
markup-validator-a101042533ecac1976788923eaccdd0192c61e18.tar.gz
markup-validator-a101042533ecac1976788923eaccdd0192c61e18.tar.bz2
adding a (minimal) print stylesheet
-rw-r--r--htdocs/base.css6
-rw-r--r--htdocs/print.css16
2 files changed, 21 insertions, 1 deletions
diff --git a/htdocs/base.css b/htdocs/base.css
index 29b5dbb..ff84cd1 100644
--- a/htdocs/base.css
+++ b/htdocs/base.css
@@ -4,13 +4,14 @@
Copyright 2000 W3C (MIT, INRIA, Keio). All Rights Reserved.
See http://www.w3.org/Consortium/Legal/ipr-notice.html#Copyright
- $Id: base.css,v 1.33 2004-07-21 15:06:55 link Exp $
+ $Id: base.css,v 1.34 2004-11-16 05:19:49 ot Exp $
*/
@import url(results.css); /* CSS for validation results. */
@import url(navbar.css); /* CSS for navigation menu. */
@import url(tips.css); /* CSS for Quality Tips. */
@import url(docs.css); /* CSS for the Documentation. */
+/* the print CSS is at the end of this document, imported after everything else */
html, body {
@@ -335,3 +336,6 @@ div#recent {
div#recent dt {
margin-top: 1em;
}
+
+@import url(print.css) print;
+
diff --git a/htdocs/print.css b/htdocs/print.css
new file mode 100644
index 0000000..c69a236
--- /dev/null
+++ b/htdocs/print.css
@@ -0,0 +1,16 @@
+#menu, .jumpbar, address, .copyright, #revalidate {
+ display: none
+ }
+
+body {
+ font-size: 12pt;
+ }
+
+#banner {
+ background: white;
+ }
+
+/* trying to avoid having the source drool out of the paper */
+#source div pre { white-space: normal }
+/* ... yet have something legible */
+#source div pre a {display: block } \ No newline at end of file