From bb3f0c264b087b3c925063024f0a078a7d8f3cc3 Mon Sep 17 00:00:00 2001 From: erikjohnston Date: Tue, 28 Sep 2021 12:42:49 +0000 Subject: deploy: 3c50192d3f564ecc2e70441157f309610bbee1cd --- v1.44/css/print.css | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 v1.44/css/print.css (limited to 'v1.44/css/print.css') diff --git a/v1.44/css/print.css b/v1.44/css/print.css new file mode 100644 index 0000000000..5e690f7559 --- /dev/null +++ b/v1.44/css/print.css @@ -0,0 +1,54 @@ + +#sidebar, +#menu-bar, +.nav-chapters, +.mobile-nav-chapters { + display: none; +} + +#page-wrapper.page-wrapper { + transform: none; + margin-left: 0px; + overflow-y: initial; +} + +#content { + max-width: none; + margin: 0; + padding: 0; +} + +.page { + overflow-y: initial; +} + +code { + background-color: #666666; + border-radius: 5px; + + /* Force background to be printed in Chrome */ + -webkit-print-color-adjust: exact; +} + +pre > .buttons { + z-index: 2; +} + +a, a:visited, a:active, a:hover { + color: #4183c4; + text-decoration: none; +} + +h1, h2, h3, h4, h5, h6 { + page-break-inside: avoid; + page-break-after: avoid; +} + +pre, code { + page-break-inside: avoid; + white-space: pre-wrap; +} + +.fa { + display: none !important; +} -- cgit 1.5.1