From b792108bc18d4fcb7c6026ecad23e430e067ba43 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sun, 25 Aug 2019 11:30:26 +0100 Subject: [PATCH] Updated print css for recent redesign Fixes #1472 --- resources/assets/sass/print-styles.scss | 33 ++++++++++-------------- resources/views/base.blade.php | 2 +- resources/views/chapters/show.blade.php | 2 +- resources/views/pages/revision.blade.php | 2 +- resources/views/pages/show.blade.php | 4 +-- resources/views/tri-layout.blade.php | 2 +- 6 files changed, 19 insertions(+), 26 deletions(-) diff --git a/resources/assets/sass/print-styles.scss b/resources/assets/sass/print-styles.scss index 44107f2d4..296afbe76 100644 --- a/resources/assets/sass/print-styles.scss +++ b/resources/assets/sass/print-styles.scss @@ -4,39 +4,32 @@ header { display: none; } -body { +html, body { font-size: 12px; + background-color: #FFF; } .page-content { margin: 0 auto; } -.flex-fill { - display: block; -} - -.flex.sidebar + .flex.content { - border-left: none; -} - .print-hidden { - display: none; + display: none !important; } -.print-full-width { - width: 100%; - float: none; +.tri-layout-container { + grid-template-columns: 1fr; + grid-template-areas: "b"; + margin-left: 0; + margin-right: 0; display: block; } -h2 { - font-size: 2em; - line-height: 1; - margin-top: 0.6em; - margin-bottom: 0.3em; +.card { + box-shadow: none; } -.comments-container { - display: none; +.content-wrap.card { + padding-left: 0; + padding-right: 0; } \ No newline at end of file diff --git a/resources/views/base.blade.php b/resources/views/base.blade.php index bb0a8cdda..c7fba7b64 100644 --- a/resources/views/base.blade.php +++ b/resources/views/base.blade.php @@ -34,7 +34,7 @@ @yield('content') -
+