From 6dc756bed51ed2db12b081a6ba9f3dfb4251bbdf Mon Sep 17 00:00:00 2001 From: Marcin Wawrzyniak Date: Thu, 9 Aug 2012 22:17:32 +0200 Subject: [PATCH] Created print.css for printing --- _layouts/default.html | 179 +++++++++++++++++++++--------------------- styles/print.css | 12 +++ 2 files changed, 102 insertions(+), 89 deletions(-) create mode 100644 styles/print.css diff --git a/_layouts/default.html b/_layouts/default.html index 7bcd73c..a233022 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,89 +1,90 @@ - - - - - {% if page.title %}{{ page.title }} - {% endif %}PHP: The Right Way - - - - - - - - - - - - - - - - - -
- - - Fork me on GitHub - - - - {{ content }} - -
- - - - - - + + + + + {% if page.title %}{{ page.title }} - {% endif %}PHP: The Right Way + + + + + + + + + + + + + + + + + + +
+ + + Fork me on GitHub + + + + {{ content }} + +
+ + + + + + diff --git a/styles/print.css b/styles/print.css new file mode 100644 index 0000000..e9b865a --- /dev/null +++ b/styles/print.css @@ -0,0 +1,12 @@ +body, .site-title, h1, h2, h3{ + font-family: 'Georgia' !important; +} + + +nav.site-navigation, a.fork-me, a.top{ + display:none; +} + +div.site-content{ + padding: 20px 40px 40px 20px; +} \ No newline at end of file