summary refs log tree commit diff
path: root/v1.54/css/print.css
diff options
context:
space:
mode:
authorreivilibre <reivilibre@users.noreply.github.com>2022-03-02 10:45:52 +0000
committerreivilibre <reivilibre@users.noreply.github.com>2022-03-02 10:45:52 +0000
commit918eba173f50b8ecc4a608edbd17b2238e37a0fb (patch)
treea3edb4a07c0a0f361c24a70b388701a1884074b4 /v1.54/css/print.css
parentdeploy: 300ed0b8a6050b5187a2a524a82cf87baad3ca73 (diff)
downloadsynapse-918eba173f50b8ecc4a608edbd17b2238e37a0fb.tar.xz
deploy: 879e4a7bd7a90cda4c8ea908aede53d8e038ca7c
Diffstat (limited to 'v1.54/css/print.css')
-rw-r--r--v1.54/css/print.css54
1 files changed, 54 insertions, 0 deletions
diff --git a/v1.54/css/print.css b/v1.54/css/print.css
new file mode 100644
index 0000000000..5e690f7559
--- /dev/null
+++ b/v1.54/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;
+}