2022-04-27 15:41:36 +00:00
|
|
|
/* Print stylesheet: hide stuff that we don't need. */
|
|
|
|
@media print {
|
|
|
|
/* Currently only used for transcripts */
|
|
|
|
details,
|
|
|
|
/* Currently only used for anchors */
|
|
|
|
span[aria-hidden],
|
|
|
|
/* You can't navigate in a printout. */
|
2022-05-02 00:04:20 +00:00
|
|
|
footer nav,
|
2022-05-02 04:59:11 +00:00
|
|
|
header nav a:not([rel="home"]) span {
|
2022-04-27 15:41:36 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2022-05-02 22:42:57 +00:00
|
|
|
|
|
|
|
/* unerlines in TOC get in the way. */
|
|
|
|
nav[role="doc-toc"] a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2022-04-27 15:41:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Print: don't orphan headings */
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4 {
|
|
|
|
break-after: avoid;
|
|
|
|
}
|
|
|
|
|
|
|
|
figure,
|
|
|
|
article article,
|
2022-05-02 00:04:20 +00:00
|
|
|
li {
|
2022-04-27 15:41:36 +00:00
|
|
|
break-inside: avoid;
|
|
|
|
}
|