#94, Show toc at top of printing page
This commit is contained in:
parent
1c65dac6ce
commit
1af0e0a18b
3 changed files with 21 additions and 7 deletions
|
@ -294,10 +294,3 @@ aside nav,
|
|||
padding: $padding-16 * 2 $padding-16;
|
||||
}
|
||||
}
|
||||
|
||||
// Printing styles
|
||||
@media print {
|
||||
.book-menu, .book-toc, .book-footer {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
|
20
assets/_print.scss
Normal file
20
assets/_print.scss
Normal file
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -5,6 +5,7 @@
|
|||
@import "utils";
|
||||
@import "main";
|
||||
@import "fonts";
|
||||
@import "print";
|
||||
|
||||
@import "markdown";
|
||||
@import "shortcodes";
|
||||
|
|
Loading…
Reference in a new issue