We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 745d47d + 404721e commit 3ea0d3dCopy full SHA for 3ea0d3d
1 file changed
mkdocs_print_site_plugin/css/print-site-readthedocs.css
@@ -0,0 +1,35 @@
1
+/* Print styles for readthedocs theme */
2
+
3
+#print-site-banner {
4
+ padding-top: 1em;
5
+ }
6
7
8
+ /* Table of contents, proper padding */
9
+.print-page-toc-title {
10
+ padding-bottom: 0em;
11
+ margin-bottom: 1em;
12
+}
13
+ /* Table of contents, compatible with dark theme */
14
+ #print-site-page ul.toc-section-line-border {
15
+ border-left: 5px solid rgb(225, 225, 225);
16
17
18
+@page {
19
20
+ /*
21
+ Note this CSS file is added to all MkDocs pages
22
+ So this @page logic will affect print of all pages
23
+ */
24
25
+ size: a4 portrait;
26
+ margin: 15mm 10mm 15mm 10mm;
27
+ counter-increment: page;
28
29
+ @bottom-center {
30
+ content: string(chapter);
31
32
+ @bottom-right {
33
+ content: 'Page ' counter(page);
34
35
0 commit comments