From 8ca5d072550a368ca2417ff0cb8db2a42ea461e7 Mon Sep 17 00:00:00 2001 From: omentic Date: Wed, 1 May 2024 23:29:54 +0000 Subject: deploy: 12eec890240a05d1e090114f7f4fdd7c1ee8ff88 --- 24.03.1/css/print.css | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 24.03.1/css/print.css (limited to '24.03.1/css/print.css') diff --git a/24.03.1/css/print.css b/24.03.1/css/print.css new file mode 100644 index 00000000..80ec3a54 --- /dev/null +++ b/24.03.1/css/print.css @@ -0,0 +1,50 @@ + +#sidebar, +#menu-bar, +.nav-chapters, +.mobile-nav-chapters { + display: none; +} + +#page-wrapper.page-wrapper { + transform: none !important; + margin-inline-start: 0px; + overflow-y: initial; +} + +#content { + max-width: none; + margin: 0; + padding: 0; +} + +.page { + overflow-y: initial; +} + +code { + direction: ltr !important; +} + +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 v1.2.3-70-g09d2