diff options
author | JJ | 2024-01-28 09:32:52 +0000 |
---|---|---|
committer | JJ | 2024-01-28 09:32:52 +0000 |
commit | 22c4776f9fddef47a6ce3f309e4eafa2fbdc3a65 (patch) | |
tree | 49101d75a3f980eb8f8560f464f816a6fb9c564a /docs/book/css/print.css | |
parent | a409dd7ea7d6d363d5ef971526b81d95e6add51d (diff) |
docs: host mdbook
Diffstat (limited to 'docs/book/css/print.css')
-rw-r--r-- | docs/book/css/print.css | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/docs/book/css/print.css b/docs/book/css/print.css new file mode 100644 index 0000000..80ec3a5 --- /dev/null +++ b/docs/book/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; +} |