X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/a43cc90b79e0b17302c74982270e29a4b93f5f0f..706bf6cb37885ca97a49f772de00b535cf3dbf9f:/docs/pycco_custom.css?ds=inline diff --git a/docs/pycco_custom.css b/docs/pycco_custom.css index 5c97b86..6832cf8 100644 --- a/docs/pycco_custom.css +++ b/docs/pycco_custom.css @@ -16,6 +16,7 @@ body { position: relative; display: inline-block; min-height: 100%; + min-width: 100%; } h1, h2, h3, h4, h5, h6 { @@ -35,26 +36,44 @@ div.code { margin-left: 640px; } + +h1, h2, h3, h4, h5, h6 { + margin-top: 20px; +} +div.docs p { + margin-bottom: 5px; +} +div.code { + padding-top: 5px; + padding-bottom: 3px; +} + @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; + clear: both; + } +} + +@media screen and (max-width:1200px) { + #background { + background: none; + border: none; + } + div.docs { + max-width: 99%; } div.code { margin: 0px; - padding-top: 2px; - padding-bottom: 5px; clear: both; } }