Summary Files Commits Branches @commit @diff @stats
path: root / src / styles.css
diff options
context:
space:
mode:
1 files changed, 16 insertions, 0 deletions
-rw-r--r--src/styles.css16
diff --git a/src/styles.css b/src/styles.css
index 9ff0cb6..6f55703 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -482,6 +482,22 @@ dd code {
}
}
+/* Printing support */
+
+@media print {
+ h2 + a img, h3 + a img, h4 + a img, h5 + a img, h6 + a img,
+ nav, #scrollBtn {
+ display: none !important;
+ }
+ body {
+ margin: 0;
+ }
+ body, article {
+ background-color: white;
+ border: none !important;
+ }
+}
+
/* Script specific styling */
.btn:hover {