From 8b6e38dd3c63fbf1badc2fb6492fa9523e0048d9 Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Fri, 17 Jul 2015 20:42:27 -0700 Subject: add print stylesheet --- source/css/print.css | 15 +++++++++++++++ templates/template.html | 3 ++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 source/css/print.css 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$ - + +