From a24d90a6e1a667f8118793a329e97df963ac64a6 Mon Sep 17 00:00:00 2001 From: dakkar Date: Tue, 8 Sep 2009 12:56:53 +0200 Subject: add print stylesheet --- additions/print.css | 32 ++++++++++++++++++++++++++++++++ templates/du2html.xsl | 4 +++- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 additions/print.css diff --git a/additions/print.css b/additions/print.css new file mode 100644 index 0000000..f619975 --- /dev/null +++ b/additions/print.css @@ -0,0 +1,32 @@ +#sidebar, #tags, #alt-langs, #push, #footer p.contacts, #toplink { + display: none; +} + +#wrapper, #main-col, #content, #footer { + width: 100%; +} + +#content { + line-height: 1.5em; +} + +a { + text-decoration: none; + color: inherit; +} + +a img { + border: none; +} + +span.title { + display: none; +} + +body { + font: normal 100%/1.375 Georgia, Times, Times New Roman, serif; +} + +h1, h2, h3, h4, h5, h6 { + font-family: Verdana, Arial, Helvetica, sans-serif; +} \ No newline at end of file diff --git a/templates/du2html.xsl b/templates/du2html.xsl index 2955ba1..8389266 100644 --- a/templates/du2html.xsl +++ b/templates/du2html.xsl @@ -155,7 +155,8 @@ <x:value-of select="normalize-space(title)"/> - + + @@ -198,6 +199,7 @@