diff options
author | squahtx <squahtx@users.noreply.github.com> | 2022-07-12 10:27:04 +0000 |
---|---|---|
committer | squahtx <squahtx@users.noreply.github.com> | 2022-07-12 10:27:04 +0000 |
commit | b2523efd90884cc78c47cddefda825cd351cc9ed (patch) | |
tree | f68f58cadf1e70c916ce0f5febfd67cb7c116003 /v1.63/css/print.css | |
parent | deploy: 5ef2f875699da76e7070593418b066f5c293a12a (diff) | |
download | synapse-b2523efd90884cc78c47cddefda825cd351cc9ed.tar.xz |
deploy: 6173d585df189a763256ed6dc4fcfb5aa26e5e5c
Diffstat (limited to 'v1.63/css/print.css')
-rw-r--r-- | v1.63/css/print.css | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/v1.63/css/print.css b/v1.63/css/print.css new file mode 100644 index 0000000000..5e690f7559 --- /dev/null +++ b/v1.63/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; +} |