mirror of https://github.com/hamaluik/mkbook
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
405 B
SCSS
40 lines
405 B
SCSS
@media print {
|
|
body {
|
|
background: #ffffff;
|
|
color: #000000;
|
|
|
|
&:not(.toc) {
|
|
nav {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
a {
|
|
color: #000000;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
h2,
|
|
h3 {
|
|
break-after: avoid-page;
|
|
}
|
|
|
|
figure {
|
|
break-inside: avoid;
|
|
}
|
|
|
|
p {
|
|
orphans: 2;
|
|
widows: 2;
|
|
}
|
|
|
|
* {
|
|
overflow: hidden;
|
|
}
|
|
|
|
body {
|
|
display: block;
|
|
}
|
|
}
|