1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-12-26 02:22:09 +00:00
seirdy.one/assets/css/print.css
Rohan Kumar 978b4b2b1a
Improve tap target + font size for WCAG AAA
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.
2022-05-03 17:05:47 -07:00

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;
}