From 1af0e0a18be55bdd38bf715ca612ea4acb2bdcad Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Fri, 8 Nov 2019 23:42:15 +0100 Subject: #94, Show toc at top of printing page --- assets/_print.scss | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 assets/_print.scss (limited to 'assets/_print.scss') 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; + } + } +} -- cgit v1.2.3