38 lines
910 B
CSS
38 lines
910 B
CSS
|
/* Main colors adapted from pytorch doc */
|
||
|
:root{
|
||
|
--main-bg-color: #343A40;
|
||
|
}
|
||
|
|
||
|
/* Header fonts y */
|
||
|
h1, h2, .rst-content .toctree-wrapper p.caption, h3, h4, h5, h6, legend, p.caption {
|
||
|
font-family: "Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;
|
||
|
}
|
||
|
|
||
|
|
||
|
/* Docs background */
|
||
|
.wy-side-nav-search{
|
||
|
background-color: var(--main-bg-color);
|
||
|
}
|
||
|
|
||
|
/* Mobile version */
|
||
|
.wy-nav-top{
|
||
|
background-color: var(--main-bg-color);
|
||
|
}
|
||
|
|
||
|
a.icon.icon-home {
|
||
|
color: #b3b3b3;
|
||
|
}
|
||
|
|
||
|
/* Make code blocks have a background */
|
||
|
.codeblock,pre.literal-block,.rst-content .literal-block,.rst-content pre.literal-block,div[class^='highlight'] {
|
||
|
background: #f8f8f8;;
|
||
|
}
|
||
|
|
||
|
/* Change style of types in the docstrings .rst-content .field-list */
|
||
|
.field-list .xref.py.docutils, .field-list code.docutils, .field-list .docutils.literal.notranslate
|
||
|
{
|
||
|
border: None;
|
||
|
padding-left: 0;
|
||
|
padding-right: 0;
|
||
|
color: #404040;
|
||
|
}
|