diff options
author | dakkar <dakkar@thenautilus.net> | 2009-09-08 12:56:53 +0200 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2009-09-08 12:56:53 +0200 |
commit | a24d90a6e1a667f8118793a329e97df963ac64a6 (patch) | |
tree | 2eb4f5e0df111cb7240d6806f4c7d8dcb4d16593 | |
parent | new documents about the makerbot (diff) | |
download | thenautilus-a24d90a6e1a667f8118793a329e97df963ac64a6.tar.gz thenautilus-a24d90a6e1a667f8118793a329e97df963ac64a6.tar.bz2 thenautilus-a24d90a6e1a667f8118793a329e97df963ac64a6.zip |
add print stylesheet
-rw-r--r-- | additions/print.css | 32 | ||||
-rw-r--r-- | templates/du2html.xsl | 4 |
2 files changed, 35 insertions, 1 deletions
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 @@ <html xml:lang="{$language}" lang="{$language}"> <head> <title><x:value-of select="normalize-space(title)"/></title> - <link rel="stylesheet" type="text/css" href="/layout.css" /> + <link rel="stylesheet" type="text/css" href="/layout.css" media="screen" /> + <link rel="stylesheet" type="text/css" href="/print.css" media="print" /> <link rel="stylesheet" type="text/css" href="/html4css1.css" /> <link rel="stylesheet" type="text/css" href="/content.css" /> <link rel="icon" type="image/png" href="/favicon.png" /> @@ -198,6 +199,7 @@ <div class="nav" id="nav-tags"> <span class="title"><x:value-of select="$const-tr[@t='navtags' and @l=$language]" /></span> <ul> + <li><x:call-template name="taglink"><x:with-param name="tag">hardware</x:with-param></x:call-template></li> <li><x:call-template name="taglink"><x:with-param name="tag">software</x:with-param></x:call-template></li> <x:if test="$language = 'it'"> <!-- non ci sono racconti in inglese, per ora --> <li><x:call-template name="taglink"><x:with-param name="tag">racconti</x:with-param></x:call-template></li> |