From 9ce49f52750e8aca6658acef54576ec86cb635b5 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Thu, 28 Jan 2021 23:02:33 -0800 Subject: [PATCH] Adding a print css to tweak the pdf output. --- docs/css/extra.css | 10 ++++++++++ mkdocs.yml | 3 +++ 2 files changed, 13 insertions(+) create mode 100644 docs/css/extra.css diff --git a/docs/css/extra.css b/docs/css/extra.css new file mode 100644 index 0000000..7f0d014 --- /dev/null +++ b/docs/css/extra.css @@ -0,0 +1,10 @@ +@media print { + .md-typeset { + font-size: 1rem !important; + font-family: Verdana, Arial, Helvetica, sans-serif; + } + .md-typeset code { + font-size: 1em !important; + font-family: Menlo, Monaco, Consolas, "Courier New", monospace !important; + } +} diff --git a/mkdocs.yml b/mkdocs.yml index c0b7d33..cc06f44 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -8,6 +8,9 @@ plugins: - with-pdf: output_path: psx-spx.pdf +extra_css: + - css/extra.css + nav: - 'index.md' - 'memorymap.md'