/* * Tweak the overal size to better match RTD. */ body { font-size: 90%; } h3, h4, h5, h6 { color: #2980b9; font-weight: 300 } p { font-size: 90%; } /* * Sphinx doesn't have support for section dividers like we do in * MkDocs, this styles the section titles in the nav * * https://github.com/mkdocs/mkdocs/issues/175 */ .wy-menu-vertical span { line-height: 18px; padding: 0.4045em 1.618em; display: block; position: relative; font-size: 90%; color: #838383; } .wy-menu-vertical .toctree-leaf a { margin-left: 10px; display: block; } .wy-menu-vertical .toctree-l1 a { margin-left: 10px; display: block; } .wy-menu-vertical .toctree-l2 a { margin-left: 20px; display: block; } .wy-menu-vertical .toctree-l3 a { margin-left: 30px; display: block; } .wy-menu-vertical .toctree-l4 a { margin-left: 40px; display: block; } .wy-menu-vertical .toctree-l5 a { margin-left: 40px; display: block; } /* * Long navigations run off the bottom of the screen as the nav * area doesn't scroll. * * https://github.com/mkdocs/mkdocs/pull/202 */ .wy-nav-side { height: 100%; overflow-y: auto; } /* * readthedocs theme hides nav items when the window height is * too small to contain them. * * https://github.com/mkdocs/mkdocs/issues/#348 */ .wy-menu-vertical ul { margin-bottom: 2em; } /* * Fix wrapping in the code highlighting * * https://github.com/mkdocs/mkdocs/issues/233 */ code { white-space: pre; } /* * Wrap inline code samples otherwise they shoot of the side and * can't be read at all. * * https://github.com/mkdocs/mkdocs/issues/313 */ p code { word-wrap: break-word; } /* * The CSS classes from highlight.js seem to clash with the * ReadTheDocs theme causing some code to be incorrectly made * bold and italic. * * https://github.com/mkdocs/mkdocs/issues/411 */ code.cs, code.c { font-weight: inherit; font-style: inherit; } /* * Fix some issues with the theme and non-highlighted code * samples. Without and highlighting styles attached the * formatting is broken. * * https://github.com/mkdocs/mkdocs/issues/319 */ .no-highlight { display: block; padding: 0.5em; color: #333; }