From: Mohammed El-Dahash Date: Sun, 8 Jan 2017 07:31:01 +0000 (-0800) Subject: Print CSS to fix printing problems X-Git-Url: http://njoseph.me/gitweb/hyde.git/commitdiff_plain/561c22d40141a796bffecbb24bcc02f931d92e1c Print CSS to fix printing problems No more sidebar filling half of the printed pages, or unnecessary blank pages. --- diff --git a/static/css/print.css b/static/css/print.css new file mode 100644 index 0000000..da8f1df --- /dev/null +++ b/static/css/print.css @@ -0,0 +1,19 @@ +.sidebar { + display: none !important; +} + +.content { + margin: 0 auto; + width: 100%; + float: none; + display: initial; +} + +.container { + width: 100%; + float: none; + display: initial; + padding-left: 1rem; + padding-right: 1rem; + margin: 0 auto; +}