diff options
Diffstat (limited to '')
-rw-r--r-- | source/css/print.css | 15 | ||||
-rw-r--r-- | templates/template.html | 3 |
2 files changed, 17 insertions, 1 deletions
diff --git a/source/css/print.css b/source/css/print.css new file mode 100644 index 00000000..392281ea --- /dev/null +++ b/source/css/print.css @@ -0,0 +1,15 @@ +body { + font-size: 8pt; +} + +article { + position: static; + width: 90%; + padding: 5%; +} + +nav, footer .rfooter .cc-icon, footer .rfooter .atom-icon, footer .rfooter .rss-icon { + width: 0; + height: 0; + visibility: hidden; +} diff --git a/templates/template.html b/templates/template.html index 9df99064..4ebc4d27 100644 --- a/templates/template.html +++ b/templates/template.html @@ -30,9 +30,10 @@ $for(header-includes)$ $header-includes$ $endfor$ <link href='/css/normalize.css' media="all" rel="stylesheet" type="text/css"/> -<link href='/css/theme.css' media="only screen" rel="stylesheet" type="text/css"/> +<link href='/css/theme.css' media="all" rel="stylesheet" type="text/css"/> <link href='/css/theme-narrow.css' media="only screen and (max-width: 980px)" rel="stylesheet" type="text/css"/> <link href='/css/theme-enlarge.css' media="only screen and (max-width: 980px) and (orientation: portrait)" rel="stylesheet" type="text/css"/> +<link href='/css/print.css' media="print" rel="stylesheet" type="text/css"/> <link href="//fonts.googleapis.com/css?family=PT+Serif:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css"/> <link href="//fonts.googleapis.com/css?family=Droid+Sans+Mono" rel="stylesheet" type="text/css"/> <script> |