/* this is for the sphinx_rtd_theme div.wy-nav-content { max-width: 100% !important; } */ div.body { max-width: 100%; } div.bodywrapper { margin: 0 0 0 26%; } div.sphinxsidebar { width: 25%; } pre, tt, code { font-size: 0.75em; } @media screen and (max-width: 875px) { div.bodywrapper { margin: 0; } div.sphinxsidebar { width: 102.5%; } div.document { width: 100%; } }