2016-11-08 16:41:38 +03:00
|
|
|
/*
|
|
|
|
* 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 .subnav a {
|
|
|
|
padding: 0.4045em 2.427em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Long navigations run off the bottom of the screen as the nav
|
|
|
|
* area doesn't scroll.
|
|
|
|
*
|
|
|
|
* https://github.com/mkdocs/mkdocs/pull/202
|
2017-04-25 14:15:40 +03:00
|
|
|
*
|
|
|
|
* Builds upon pull 202 https://github.com/mkdocs/mkdocs/pull/202
|
|
|
|
* to make toc scrollbar end before navigations buttons to not be overlapping.
|
2016-11-08 16:41:38 +03:00
|
|
|
*/
|
|
|
|
.wy-nav-side {
|
2017-04-25 14:15:40 +03:00
|
|
|
height: calc(100% - 45px);
|
2016-11-08 16:41:38 +03:00
|
|
|
overflow-y: auto;
|
2017-04-25 14:15:40 +03:00
|
|
|
min-height: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rst-versions{
|
|
|
|
border-top: 0;
|
|
|
|
height: 45px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 768px) {
|
|
|
|
.wy-nav-side {
|
|
|
|
height: 100%;
|
|
|
|
}
|
2016-11-08 16:41:38 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* 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;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
2017-04-25 14:15:40 +03:00
|
|
|
* Wrap inline code samples otherwise they shoot of the side and
|
|
|
|
* can't be read at all.
|
2016-11-08 16:41:38 +03:00
|
|
|
*
|
2017-04-25 14:15:40 +03:00
|
|
|
* https://github.com/mkdocs/mkdocs/issues/313
|
2016-11-08 16:41:38 +03:00
|
|
|
* https://github.com/mkdocs/mkdocs/issues/233
|
2017-04-25 14:15:40 +03:00
|
|
|
* https://github.com/mkdocs/mkdocs/issues/834
|
2016-11-08 16:41:38 +03:00
|
|
|
*/
|
|
|
|
code {
|
2017-04-25 14:15:40 +03:00
|
|
|
white-space: pre-wrap;
|
|
|
|
word-wrap: break-word;
|
|
|
|
padding: 2px 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Make code blocks display as blocks and give them the appropriate
|
|
|
|
* font size and padding.
|
|
|
|
*
|
|
|
|
* https://github.com/mkdocs/mkdocs/issues/855
|
|
|
|
* https://github.com/mkdocs/mkdocs/issues/834
|
|
|
|
* https://github.com/mkdocs/mkdocs/issues/233
|
|
|
|
*/
|
|
|
|
pre code {
|
|
|
|
white-space: pre;
|
|
|
|
word-wrap: normal;
|
|
|
|
display: block;
|
|
|
|
padding: 12px;
|
|
|
|
font-size: 12px;
|
2016-11-08 16:41:38 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
2017-04-25 14:15:40 +03:00
|
|
|
* Fix link colors when the link text is inline code.
|
2016-11-08 16:41:38 +03:00
|
|
|
*
|
2017-04-25 14:15:40 +03:00
|
|
|
* https://github.com/mkdocs/mkdocs/issues/718
|
2016-11-08 16:41:38 +03:00
|
|
|
*/
|
2017-04-25 14:15:40 +03:00
|
|
|
a code {
|
|
|
|
color: #2980B9;
|
|
|
|
}
|
|
|
|
a:hover code {
|
|
|
|
color: #3091d1;
|
|
|
|
}
|
|
|
|
a:visited code {
|
|
|
|
color: #9B59B6;
|
2016-11-08 16:41:38 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* 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
|
|
|
|
*/
|
2017-04-25 14:15:40 +03:00
|
|
|
pre .cs, pre .c {
|
2016-11-08 16:41:38 +03:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Additions specific to the search functionality provided by MkDocs
|
|
|
|
*/
|
|
|
|
|
2017-04-25 14:15:40 +03:00
|
|
|
.search-results article {
|
2016-11-08 16:41:38 +03:00
|
|
|
margin-top: 23px;
|
|
|
|
border-top: 1px solid #E1E4E5;
|
|
|
|
padding-top: 24px;
|
|
|
|
}
|
|
|
|
|
2017-04-25 14:15:40 +03:00
|
|
|
.search-results article:first-child {
|
2016-11-08 16:41:38 +03:00
|
|
|
border-top: none;
|
|
|
|
}
|
|
|
|
|
2017-04-25 14:15:40 +03:00
|
|
|
form .search-query {
|
2016-11-08 16:41:38 +03:00
|
|
|
width: 100%;
|
|
|
|
border-radius: 50px;
|
2017-04-25 14:15:40 +03:00
|
|
|
padding: 6px 12px; /* csslint allow: box-model */
|
2016-11-08 16:41:38 +03:00
|
|
|
border-color: #D1D4D5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wy-menu-vertical li ul {
|
|
|
|
display: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wy-menu-vertical li ul.subnav ul.subnav{
|
|
|
|
padding-left: 1em;
|
|
|
|
}
|
|
|
|
|
2017-04-25 14:15:40 +03:00
|
|
|
.wy-menu-vertical .subnav li.current > a {
|
|
|
|
padding-left: 2.42em;
|
|
|
|
}
|
|
|
|
.wy-menu-vertical .subnav li.current > ul li a {
|
|
|
|
padding-left: 3.23em;
|
|
|
|
}
|
2016-11-08 16:41:38 +03:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Improve inline code blocks within admonitions.
|
|
|
|
*
|
|
|
|
* https://github.com/mkdocs/mkdocs/issues/656
|
|
|
|
*/
|
2017-04-25 14:15:40 +03:00
|
|
|
.admonition code {
|
2016-11-08 16:41:38 +03:00
|
|
|
color: #404040;
|
2017-04-25 14:15:40 +03:00
|
|
|
border: 1px solid #c7c9cb;
|
2016-11-08 16:41:38 +03:00
|
|
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
2017-04-25 14:15:40 +03:00
|
|
|
background: #f8fbfd;
|
2016-11-08 16:41:38 +03:00
|
|
|
background: rgba(255, 255, 255, 0.7);
|
|
|
|
}
|
2017-04-25 14:15:40 +03:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Account for wide tables which go off the side.
|
|
|
|
* Override borders to avoid wierdness on narrow tables.
|
|
|
|
*
|
|
|
|
* https://github.com/mkdocs/mkdocs/issues/834
|
|
|
|
* https://github.com/mkdocs/mkdocs/pull/1034
|
|
|
|
*/
|
|
|
|
.rst-content .section .docutils {
|
|
|
|
width: 100%;
|
|
|
|
overflow: auto;
|
|
|
|
display: block;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
td, th {
|
|
|
|
border: 1px solid #e1e4e5 !important; /* csslint allow: important */
|
|
|
|
border-collapse: collapse;
|
|
|
|
}
|