2013-11-18 22:09:20 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* ==|== print styles =======================================================
|
|
|
|
Print styles.
|
|
|
|
Inlined to avoid required HTTP connection: h5bp.com/r
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
@media print {
|
2013-12-03 21:57:26 +01:00
|
|
|
|
|
|
|
* {
|
|
|
|
background: transparent;
|
|
|
|
color: black !important;
|
|
|
|
box-shadow:none !important;
|
|
|
|
text-shadow: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry-content a[href]:after {
|
|
|
|
content: " (" attr(href) ")";
|
|
|
|
text-transform: none;
|
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
|
|
|
|
|
|
|
// hide stuff in article view
|
|
|
|
.related-posts,
|
|
|
|
.footer .row:first-child,
|
|
|
|
.hentry:before {
|
|
|
|
.hide;
|
|
|
|
}
|
|
|
|
.topbar { .visuallyhidden; }
|
|
|
|
|
|
|
|
.hentry { border: none }
|
|
|
|
|
|
|
|
.footer {
|
|
|
|
color: #ccc !important;
|
|
|
|
|
|
|
|
.footer-copyright {
|
|
|
|
border-top: 1px solid #000 !important;
|
|
|
|
|
|
|
|
&:after { .hide; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-11-18 22:09:20 +01:00
|
|
|
abbr[title]:after { content: " (" attr(title) ")"; }
|
|
|
|
.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } /* Don't show links for images, or javascript/internal links */
|
2013-12-03 21:57:26 +01:00
|
|
|
|
|
|
|
pre, blockquote { page-break-inside: avoid; }
|
|
|
|
|
2013-11-18 22:09:20 +01:00
|
|
|
thead { display: table-header-group; } /* h5bp.com/t */
|
2013-12-03 21:57:26 +01:00
|
|
|
|
2013-11-18 22:09:20 +01:00
|
|
|
tr, img { page-break-inside: avoid; }
|
2013-12-03 21:57:26 +01:00
|
|
|
|
2013-11-18 22:09:20 +01:00
|
|
|
img { max-width: 100% !important; }
|
2013-12-03 21:57:26 +01:00
|
|
|
|
|
|
|
@page { margin: 5.5cm; }
|
|
|
|
|
2013-11-18 22:09:20 +01:00
|
|
|
p, h2, h3 { orphans: 3; widows: 3; }
|
2013-12-03 21:57:26 +01:00
|
|
|
|
|
|
|
.hentry {
|
|
|
|
h1 { page-break-before: always; }
|
|
|
|
&:first-child h1 { page-break-before: avoid; }
|
|
|
|
}
|
|
|
|
|
2013-11-18 22:09:20 +01:00
|
|
|
h2, h3 { page-break-after: avoid; }
|
|
|
|
}
|