summary refs log tree commit diff
path: root/v1.45/css/print.css
diff options
context:
space:
mode:
authorbabolivier <babolivier@users.noreply.github.com>2021-10-12 09:56:14 +0000
committerbabolivier <babolivier@users.noreply.github.com>2021-10-12 09:56:14 +0000
commit3e9f830a1f3368f5210862317e608a528735a38b (patch)
treea7249f0217264df9c009bba0f210a12a7e26d211 /v1.45/css/print.css
parentdeploy: 5e29d417fc5933e26ba85a40c298d46b09580330 (diff)
downloadsynapse-3e9f830a1f3368f5210862317e608a528735a38b.tar.xz
deploy: 60af28c5dd803ac4ad1aa216574cac33b6daed6a
Diffstat (limited to 'v1.45/css/print.css')
-rw-r--r--v1.45/css/print.css54
1 files changed, 54 insertions, 0 deletions
diff --git a/v1.45/css/print.css b/v1.45/css/print.css
new file mode 100644

index 0000000000..5e690f7559 --- /dev/null +++ b/v1.45/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; +}