research-home-page/css/partials/_print.scss
2020-11-25 12:10:23 +01:00

71 lines
953 B
SCSS

@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;;
}
}