1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
| // Print stylesheet
@page {
margin: 2cm;
}
body {
color: #000;
background: #fff;
max-width: none;
padding: 0;
}
body > nav,
footer,
.skip-link,
article > nav[aria-label="Table of contents"] {
display: none;
}
a {
color: #000;
border-bottom: none;
}
a[href^="http"]::after {
content: " (" attr(href) ")";
font-size: 0.85em;
word-break: break-all;
}
h1, h2, h3, h4, h5, h6 {
color: #000;
break-after: avoid;
}
img {
break-inside: avoid;
}
pre {
white-space: pre-wrap;
border: 1px solid #ccc;
}
|