]> njoseph.me Git - hyde.git/commitdiff
Print CSS to fix printing problems
authorMohammed El-Dahash <BinaryDahash@users.noreply.github.com>
Sun, 8 Jan 2017 07:31:01 +0000 (23:31 -0800)
committerdigitalcraftsman <digitalcraftsman@protonmail.com>
Tue, 25 Jul 2017 16:29:32 +0000 (18:29 +0200)
No more sidebar filling half of the printed pages, or unnecessary blank pages.

static/css/print.css [new file with mode: 0644]

diff --git a/static/css/print.css b/static/css/print.css
new file mode 100644 (file)
index 0000000..da8f1df
--- /dev/null
@@ -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;
+}