X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/41c94f98f6cf8b5a05a8c3eb8d13bb73fc4fda3f..b30edaca267b5900279eb43b5a70889899bad62d:/docs/pycco_custom.css diff --git a/docs/pycco_custom.css b/docs/pycco_custom.css index bee0e24..94b70f3 100644 --- a/docs/pycco_custom.css +++ b/docs/pycco_custom.css @@ -12,11 +12,46 @@ /*--------------------- Layout ----------------------------*/ body { - font-family: 'aller-light', sans-serif; + font-family: 'aller-light', sans-serif; } h1, h2, h3, h4, h5, h6 { - line-height: 1em; + line-height: 1.1em; +} + +div.docs { + max-width: 580px; + padding-left: 35px; +} +#background { + left: 640px; +} +div.code { + margin-left: 640px; +} + +@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 -----------------------------*/