mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
28 lines
675 B
SCSS
28 lines
675 B
SCSS
// Print Stylesheet default from HTML5 Boiler Plate
|
|
|
|
@media print{
|
|
*{
|
|
background:transparent!important;
|
|
color:#000!important; // Black prints faster
|
|
box-shadow:none!important;
|
|
text-shadow:none!important;
|
|
}
|
|
|
|
a, a:visited{text-decoration:underline}
|
|
a[href]:after{content:" (" attr(href) ")"}
|
|
|
|
abbr[title]:after{content:" (" attr(title) ")"}
|
|
|
|
pre, blockquote{border:1px solid #999; page-break-inside:avoid}
|
|
|
|
thead{display:table-header-group} // h5bp.com/t
|
|
|
|
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}
|
|
}
|