From 55dd9d13e5bce24c6deda1c8fbb5a919da1d0f42 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sat, 27 Jun 2015 10:31:06 +0200 Subject: [PATCH] add CSS for printing --- docs/pycco_custom.css | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/docs/pycco_custom.css b/docs/pycco_custom.css index 4fe2638..28333e5 100644 --- a/docs/pycco_custom.css +++ b/docs/pycco_custom.css @@ -19,6 +19,30 @@ h1, h2, h3, h4, h5, h6 { line-height: 1.1em; } +@media print { + #background { + background: none; + border: none; + } + h1, h2, h3, h4, h5, h6 { + margin-top: 20px; + } + div.docs { + max-width: 99%; + padding-left: 0px; + padding-right: 0px; + } + div.docs p { + margin-bottom: 5px; + } + div.code { + margin: 0px; + padding-top: 2px; + padding-bottom: 5px; + clear: both; + } +} + /*---------------------- Syntax Highlighting -----------------------------*/ body .k { font-weight: bold } /* Keyword */ body .kd { font-weight: normal } /* Keyword.Declaration */ -- 2.30.2