aboutsummaryrefslogtreecommitdiff
path: root/assets/_print.scss
diff options
context:
space:
mode:
Diffstat (limited to 'assets/_print.scss')
-rw-r--r--assets/_print.scss20
1 files changed, 20 insertions, 0 deletions
diff --git a/assets/_print.scss b/assets/_print.scss
new file mode 100644
index 0000000..fca8312
--- /dev/null
+++ b/assets/_print.scss
@@ -0,0 +1,20 @@
+// Printing styles
+@media print {
+ .book-menu,
+ .book-footer {
+ display: none;
+ }
+
+ main {
+ flex-direction: column-reverse;
+ }
+
+ .book-toc {
+ flex: none;
+
+ nav {
+ position: relative;
+ width: auto;
+ }
+ }
+}