-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1337fd9
commit d4097f0
Showing
2 changed files
with
231 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,155 @@ | ||
/* css style file taken from https://github.com/thu-ml/tianshou/blob/master/docs/_static/css/style.css */ | ||
|
||
.wy-side-nav-search { | ||
background-color: #fff; | ||
} | ||
a.icon.icon-home, a.icon.icon-home::before { | ||
color: #2980b9; | ||
} | ||
|
||
pre { | ||
white-space: pre-wrap !important; /* Since CSS 2.1 */ | ||
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */ | ||
white-space: -pre-wrap !important; /* Opera 4-6 */ | ||
white-space: -o-pre-wrap !important; /* Opera 7 */ | ||
word-wrap: break-word !important; /* Internet Explorer 5.5+ */ | ||
} | ||
|
||
body { | ||
font-family: "Lato","proxima-nova","Helvetica Neue",Arial,sans-serif; | ||
} | ||
|
||
/* Default header fonts are ugly */ | ||
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; | ||
} | ||
|
||
/* Use white for docs background */ | ||
.wy-side-nav-search { | ||
background-color: #fff; | ||
} | ||
|
||
.wy-nav-content { | ||
max-width: 1200px !important; | ||
} | ||
|
||
.wy-nav-content-wrap, .wy-menu li.current > a { | ||
background-color: #fff; | ||
} | ||
|
||
.wy-side-nav-search>a img.logo { | ||
width: 80%; | ||
margin-top: 10px; | ||
} | ||
|
||
@media screen and (min-width: 1400px) { | ||
.wy-nav-content-wrap { | ||
background-color: #fff; | ||
} | ||
|
||
.wy-nav-content { | ||
background-color: #fff; | ||
} | ||
} | ||
|
||
/* Fixes for mobile */ | ||
.wy-nav-top { | ||
background-color: #fff; | ||
background-repeat: no-repeat; | ||
background-position: center; | ||
padding: 0; | ||
margin: 0.4045em 0.809em; | ||
color: #333; | ||
} | ||
|
||
.wy-nav-top > a { | ||
display: none; | ||
} | ||
|
||
@media screen and (max-width: 768px) { | ||
.wy-side-nav-search>a img.logo { | ||
height: 60px; | ||
} | ||
} | ||
|
||
/* This is needed to ensure that logo above search scales properly */ | ||
.wy-side-nav-search a { | ||
display: block; | ||
} | ||
|
||
/* This ensures that multiple constructors will remain in separate lines. */ | ||
.rst-content dl:not(.docutils) dt { | ||
display: table; | ||
} | ||
|
||
/* Use our red for literals (it's very similar to the original color) */ | ||
.rst-content tt.literal, .rst-content tt.literal, .rst-content code.literal { | ||
color: #4692BC; | ||
} | ||
|
||
.rst-content tt.xref, a .rst-content tt, .rst-content tt.xref, | ||
.rst-content code.xref, a .rst-content tt, a .rst-content code { | ||
color: #404040; | ||
} | ||
|
||
/* Change link colors (except for the menu) */ | ||
|
||
a { | ||
color: #4692BC; | ||
} | ||
|
||
a:hover { | ||
color: #4692BC; | ||
} | ||
|
||
|
||
a:visited { | ||
color: #4692BC; | ||
} | ||
|
||
.wy-menu a { | ||
color: #b3b3b3; | ||
} | ||
|
||
.wy-menu a:hover { | ||
color: #b3b3b3; | ||
} | ||
|
||
/* Default footer text is quite big */ | ||
footer { | ||
font-size: 80%; | ||
} | ||
|
||
footer .rst-footer-buttons { | ||
font-size: 125%; /* revert footer settings - 1/80% = 125% */ | ||
} | ||
|
||
footer p { | ||
font-size: 100%; | ||
} | ||
|
||
.ethical-rtd { | ||
display: none; | ||
} | ||
|
||
.ethical-fixedfooter { | ||
display: none; | ||
} | ||
|
||
.ethical-content { | ||
display: none; | ||
} | ||
|
||
/* For hidden headers that appear in TOC tree */ | ||
/* see http://stackoverflow.com/a/32363545/3343043 */ | ||
.rst-content .hidden-section { | ||
display: none; | ||
} | ||
|
||
nav .hidden-section { | ||
display: inherit; | ||
} | ||
|
||
.wy-side-nav-search>div.version { | ||
color: #000; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters