diff options
| author | gdamore <gdamore@users.noreply.github.com> | 2024-10-27 18:55:51 +0000 |
|---|---|---|
| committer | gdamore <gdamore@users.noreply.github.com> | 2024-10-27 18:55:51 +0000 |
| commit | 45ac4fa56b6e5c31a28fd08eaad14a09bf3934f6 (patch) | |
| tree | e0ed7b8907d4f6ac5651fb6c9d38556ec46b231a /ref/css/print.css | |
| parent | b83fdb3ff1327e4376acd0ca24479b16b24f7e0b (diff) | |
| download | nng-45ac4fa56b6e5c31a28fd08eaad14a09bf3934f6.tar.gz nng-45ac4fa56b6e5c31a28fd08eaad14a09bf3934f6.tar.bz2 nng-45ac4fa56b6e5c31a28fd08eaad14a09bf3934f6.zip | |
deploy: ffeb31c64ea72c4eb287f75b641ca2a707df90b0
Diffstat (limited to 'ref/css/print.css')
| -rw-r--r-- | ref/css/print.css | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/ref/css/print.css b/ref/css/print.css new file mode 100644 index 00000000..80ec3a54 --- /dev/null +++ b/ref/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; +} |
