-
Notifications
You must be signed in to change notification settings - Fork 15
/
print.css
28 lines (25 loc) · 632 Bytes
/
print.css
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
@media print {
/* Fix pages cut off bug by Prince */
/* Ref https://www.princexml.com/forum/topic/4608 */
.row {
display: block !important;
}
.markdown header h1 { string-set: doctitle content() }
@page {
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;
}
}