-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathprint.css
More file actions
32 lines (29 loc) · 789 Bytes
/
print.css
File metadata and controls
32 lines (29 loc) · 789 Bytes
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
@media print {
/* Fix pages cut off bug by Prince */
/* Ref https://www.princexml.com/forum/topic/4608 */
.row {
display: block !important;
}
.markdown header h1 {
/* biome-ignore lint/correctness/noUnknownFunction: vendor-specific */
string-set: doctitle content();
}
@page {
/* biome-ignore lint/correctness/noUnknownProperty: vendor-specific */
prince-shrink-to-fit: auto;
}
/* Elements should be removed in PDF */
.navbar,
.pagination-nav,
.theme-doc-breadcrumbs,
a.hash-link,
div[class*="docItemContainer"] article footer,
aside[class*="docSidebarContainer"],
a[class*="skipToContent"],
div[class*="lastUpdated"],
div[class*="tocCollapsible"],
div[class*="tableOfContents"],
.footer {
display: none !important;
}
}