From 81a8f946b7e04374d7818e9d9a83661e47339a52 Mon Sep 17 00:00:00 2001 From: Mathieu David Date: Mon, 12 Sep 2016 22:10:33 +0200 Subject: [PATCH] Fix print.styl, changes were previously comitted directly to the css file causing them to be overwritten --- src/theme/stylus/print.styl | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/src/theme/stylus/print.styl b/src/theme/stylus/print.styl index 95d68fc9..e2c81099 100644 --- a/src/theme/stylus/print.styl +++ b/src/theme/stylus/print.styl @@ -1,31 +1,38 @@ @media only print { - .sidebar, - .menu-bar, + #sidebar, + #menu-bar, .nav-chapters, .mobile-nav-chapters { - display: none + display: none } - .page-wrapper { - left: 0 + #page-wrapper { + left: 0; + overflow-y: initial; } - .content { - max-width: 100% + #content { + max-width: none; + margin: 0; + padding: 0; + } + + .page { + overflow-y: initial; } code { - background-color: #666666 - border-radius: 5px + background-color: #666666 + border-radius: 5px - /* Force background to be printed in Chrome */ - -webkit-print-color-adjust: exact + /* Force background to be printed in Chrome */ + -webkit-print-color-adjust: exact } a, a:visited, a:active, a:hover { - color: #4183c4 - text-decoration: none + color: #4183c4 + text-decoration: none } h1, h2, h3, h4, h5, h6 {