2022-04-27 15:41:36 +00:00
|
|
|
/* Print stylesheet: hide stuff that we don't need. */
|
|
|
|
@media print {
|
2022-05-10 23:06:28 +00:00
|
|
|
/* The triangle bullet on summary elements gives no actionable
|
|
|
|
* information on print. */
|
|
|
|
summary {
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
2022-05-19 00:21:48 +00:00
|
|
|
/* Hide screen-only content */
|
2022-07-16 00:17:59 +00:00
|
|
|
a[href="#h1"], /* Skip link */
|
2022-07-24 18:28:23 +00:00
|
|
|
a[role="doc-backlink"], /* can't navigate back on print. */
|
2022-05-27 00:06:56 +00:00
|
|
|
aside:not([role="note"]),
|
2022-05-10 23:06:28 +00:00
|
|
|
/* An un-opened summary inside an article has no use in print.
|
|
|
|
* Outside an article it's used in my webring list where it has some
|
|
|
|
* use, see below. */
|
|
|
|
article summary,
|
2022-06-05 03:55:47 +00:00
|
|
|
section[aria-labelledby="webmentions"],
|
2022-07-24 18:28:23 +00:00
|
|
|
/* You can't navigate across the site in a printout. */
|
2022-05-27 00:06:56 +00:00
|
|
|
footer,
|
2022-06-15 05:08:50 +00:00
|
|
|
/* splitting up sections with <hr> is unnecesary if those
|
|
|
|
* sections are removed */
|
|
|
|
body > hr,
|
2022-07-24 18:28:23 +00:00
|
|
|
nav:not([itemprop="breadcrumb"]) a:not([rel="home"]) {
|
2022-04-27 15:41:36 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-05-04 05:09:14 +00:00
|
|
|
/* Print: don't break up self-contained items. */
|
2022-04-27 15:41:36 +00:00
|
|
|
figure,
|
2022-05-13 00:33:12 +00:00
|
|
|
section[itemprop="mentions"],
|
2022-07-24 18:28:23 +00:00
|
|
|
blockquote,
|
2022-05-02 00:04:20 +00:00
|
|
|
li {
|
2022-04-27 15:41:36 +00:00
|
|
|
break-inside: avoid;
|
|
|
|
}
|