diff options
| author | Deployment Bot (from Travis CI) <[email protected]> | 2022-08-17 04:28:37 +0000 |
|---|---|---|
| committer | Deployment Bot (from Travis CI) <[email protected]> | 2022-08-17 04:28:37 +0000 |
| commit | 17a494dcdda959bb643e212a9c73e59200b7c33d (patch) | |
| tree | 09ac82df41335e6a3c2fa2c0be167215aa65b441 /css/print.css | |
| download | Plore-Tabletop-Game-gh-pages.tar.gz Plore-Tabletop-Game-gh-pages.zip | |
Deploy realtradam/Plore-Tabletop-Game to github.com/realtradam/Plore-Tabletop-Game.git:gh-pagesgh-pages
Diffstat (limited to 'css/print.css')
| -rw-r--r-- | css/print.css | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/css/print.css b/css/print.css new file mode 100644 index 0000000..5e690f7 --- /dev/null +++ b/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; +} |
