mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-24 05:02:10 +00:00
978b4b2b1a
Increased font size to decrease chars-per-line (SC 1.4.8) and increase tap target size. Pad the nav links more and add some extra space between them to meet SC 2.5.5.
26 lines
503 B
CSS
26 lines
503 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,
|
|
nav a:not([rel="home"]) span {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
/* Print: don't orphan headings
|
|
* Commented out bc most browsers don't obey this yet. */
|
|
/* h2, */
|
|
/* h3, */
|
|
/* h4 { */
|
|
/* break-after: avoid; */
|
|
/* } */
|
|
|
|
figure,
|
|
article article,
|
|
li {
|
|
break-inside: avoid;
|
|
}
|