summary refs log tree commit diff
path: root/v1.67/css/print.css
diff options
context:
space:
mode:
authorerikjohnston <erikjohnston@users.noreply.github.com>2022-09-06 08:02:18 +0000
committererikjohnston <erikjohnston@users.noreply.github.com>2022-09-06 08:02:18 +0000
commitd034da1b8f43f469c43623769012b737694888b0 (patch)
treea9ca3f4393face4f4ac80337ef8de65cb7aae5e9 /v1.67/css/print.css
parentdeploy: 32fc3b7ba4702a0068a82bdd0595e2f426967d4d (diff)
downloadsynapse-d034da1b8f43f469c43623769012b737694888b0.tar.xz
deploy: cdf7fb737b12cc06cc5693806ee8fa21ade9723d
Diffstat (limited to 'v1.67/css/print.css')
-rw-r--r--v1.67/css/print.css54
1 files changed, 54 insertions, 0 deletions
diff --git a/v1.67/css/print.css b/v1.67/css/print.css
new file mode 100644

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