summaryrefslogtreecommitdiff
path: root/static/css
diff options
context:
space:
mode:
authorMohammed El-Dahash <BinaryDahash@users.noreply.github.com>2017-01-07 23:31:01 -0800
committerdigitalcraftsman <digitalcraftsman@protonmail.com>2017-07-25 18:29:32 +0200
commit561c22d40141a796bffecbb24bcc02f931d92e1c (patch)
tree0582dc3c54ad314b3aa744028f4d902892695c68 /static/css
parentb155b334bd1d47e322fed4c1599114fdba9ae8ba (diff)
Print CSS to fix printing problems
No more sidebar filling half of the printed pages, or unnecessary blank pages.
Diffstat (limited to 'static/css')
-rw-r--r--static/css/print.css19
1 files changed, 19 insertions, 0 deletions
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;
+}