summaryrefslogtreecommitdiff
path: root/master/css/print.css
diff options
context:
space:
mode:
authoromentic2024-05-01 23:29:57 +0000
committeromentic2024-05-01 23:29:57 +0000
commit7b6a399a1dfd55c1a993730fa6bbc2e42c74bb6d (patch)
tree9875088fdaa53cff601342e79dca5dd7627edc5a /master/css/print.css
parent8ca5d072550a368ca2417ff0cb8db2a42ea461e7 (diff)
deploy: 12eec890240a05d1e090114f7f4fdd7c1ee8ff88
Diffstat (limited to 'master/css/print.css')
-rw-r--r--master/css/print.css50
1 files changed, 50 insertions, 0 deletions
diff --git a/master/css/print.css b/master/css/print.css
new file mode 100644
index 00000000..80ec3a54
--- /dev/null
+++ b/master/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;
+}