mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-30 23:22:10 +00:00
25 lines
415 B
CSS
25 lines
415 B
CSS
|
/* 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. */
|
||
|
footer nav {
|
||
|
display: none;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* Print: don't orphan headings */
|
||
|
h2,
|
||
|
h3,
|
||
|
h4 {
|
||
|
break-after: avoid;
|
||
|
}
|
||
|
|
||
|
figure,
|
||
|
article article,
|
||
|
div[role="doc-endnotes"] ol li {
|
||
|
break-inside: avoid;
|
||
|
}
|