From 52250654458814b542fdb0574862812d0ee629a6 Mon Sep 17 00:00:00 2001 From: Steven Engler Date: Thu, 12 Sep 2019 16:36:17 -0400 Subject: [PATCH] Added a print media css style --- static/css/styles.css | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/static/css/styles.css b/static/css/styles.css index 5057ab8..60d4d98 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -405,3 +405,37 @@ body { font-size: 130% } } + +@media print { + body { + background-color: initial !important; + } + + .main { + margin-top: 0; + margin-bottom: 0; + width: 100%; + box-shadow: none !important; + } + + .header { + background-color: initial !important; + background-image: none !important; + } + + .header-content { + margin: 0; + } + + .body-content { + margin: 0; + } + + .header-right { + display: none; + } + + .links { + display: none; + } +}