org-theme/scss/partials/_print.scss

71 lines
953 B
SCSS
Raw Permalink Normal View History

2020-11-25 23:22:07 +01:00
@media print{
html,body,section{
background:none !important;
}
*{
box-shadow:none !important;
text-shadow:none !important;
filter:none !important;
-ms-filter:none !important;
}
a,a:visited{
text-decoration:underline;
}
pre.src,blockquote{
page-break-inside:avoid;
}
thead{
display:table-header-group;
}
tr,img{
page-break-inside:avoid;
}
img{
max-width:100% !important;
}
@page{
margin:0.5cm;
}
p,h2,h3{
orphans:3;
widows:3;
}
h2,h3{
page-break-after:avoid;
}
}
@media print{
#postamble{
display:none;
}
#content{
margin-left:0;
}
}
@media print{
#table-of-contents{
display:none;
}
@page{
size: auto;
margin: 25mm 25mm 25mm 25mm;;
}
body {
margin: 0px;;
}
}