This commit is contained in:
Raphael Goetter 2014-05-07 10:53:15 +02:00
parent aa685cf52a
commit 78831c4ed6
6 changed files with 111 additions and 78 deletions

View file

@ -33,43 +33,46 @@
.print {
display: block;
/* displaying .print elements */
}
.no-print {
display: none;
}
img {
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%);
-o-filter: grayscale(100%);
filter: grayscale(100%);
}
/* no orphans, no widows */
p,
blockquote {
orphans: 3;
/* no orphans */
widows: 3;
/* no widows */
}
/* no breaks inside these elements */
blockquote,
ul,
ol {
page-break-inside: avoid;
/* no breaks inside these elements */
}
/* page break before main headers */
h1 {
page-break-before: always;
/* page break before main headers */
}
/* no breaks after these elements */
h1,
h2,
h3,
caption {
page-break-after: avoid;
/* no breaks after these elements */
}
a {
@ -77,9 +80,10 @@
text-decoration: underline !important;
}
/* displaying URLs */
a[href]:after {
content: " (" attr(href) ")";
/* displaying URLs */
}
a[href^="javascript:"]:after,