diff --git a/doc/source/_static/custom.css b/doc/source/_static/custom.css index b21f55c..60a9232 100644 --- a/doc/source/_static/custom.css +++ b/doc/source/_static/custom.css @@ -1,4 +1,35 @@ +/* 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%; + } +} + + diff --git a/doc/source/conf.py b/doc/source/conf.py index 273fc13..70be1b6 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -99,8 +99,9 @@ default_role = 'any' # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # -import sphinx_rtd_theme -html_theme = 'sphinx_rtd_theme' +#import sphinx_rtd_theme +#html_theme = 'sphinx_rtd_theme' +html_theme = 'alabaster' # If not None, a 'Last updated on:' timestamp is inserted at every page # bottom, using the given strftime format. @@ -113,7 +114,10 @@ html_last_updated_fmt = '%Y-%m-%d %H:%M' # further. For a list of options available for each theme, see the # documentation. # -# html_theme_options = {} +html_theme_options = { + 'page_width': '100%', + 'fixed_sidebar': True, +} # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files,