8
0
daux.io/themes/daux_singlepage/scss/_print.scss

68 Zeilen
934 B
SCSS

2018-02-26 22:46:36 +01:00
* {
text-shadow: none !important;
color: #000 !important; // Black prints faster: h5bp.com/s
background: transparent !important;
box-shadow: none !important;
}
2019-05-28 22:12:50 +02:00
h1,
h2,
h3,
h4,
h5,
h6 {
2018-02-26 22:46:36 +01:00
page-break-after: avoid;
page-break-before: auto;
}
2019-05-28 22:12:50 +02:00
pre,
blockquote {
2018-02-26 22:46:36 +01:00
border: 1px solid #999;
font-style: italic;
page-break-inside: avoid;
}
img {
page-break-inside: avoid;
border: 0; /* Some browsers like to show a border around images. Switch it off */
}
a,
2019-05-28 22:12:50 +02:00
a:visited {
text-decoration: underline;
}
2018-02-26 22:46:36 +01:00
2019-05-28 22:12:50 +02:00
abbr[title]:after {
content: " (" attr(title) ")";
}
2018-02-26 22:46:36 +01:00
q {
quotes: none;
2019-05-28 22:12:50 +02:00
&:before {
content: "";
}
2018-02-26 22:46:36 +01:00
2019-05-28 22:12:50 +02:00
&:after {
content: " (" attr(cite) ")";
}
2018-02-26 22:46:36 +01:00
}
.PageBreak {
display: block;
page-break-before: always;
}
2019-05-28 22:12:50 +02:00
.NoPrint {
display: none;
}
2018-02-26 22:46:36 +01:00
/* Hide the navigation */
2019-05-28 22:12:50 +02:00
aside {
display: none;
}
a[href]:after {
content: " (" attr(href) ")";
}