diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2018-08-27 19:13:42 -0400 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2018-08-27 19:13:42 -0400 |
| commit | 867353b827eabb294f1cc8d0d825669cf64b7138 (patch) | |
| tree | fdef5687b3ce7941104e6fa31763c1b08d0d82aa /docs/docs.css | |
| parent | cbdf8b6925dcf4b5fd29868797fe0195de5680ee (diff) | |
switch from mkdocs-material to a custom readthedocs style for user docs as well
Diffstat (limited to 'docs/docs.css')
| -rw-r--r-- | docs/docs.css | 91 |
1 files changed, 71 insertions, 20 deletions
diff --git a/docs/docs.css b/docs/docs.css index ebd56907..ab7fd619 100644 --- a/docs/docs.css +++ b/docs/docs.css @@ -1,37 +1,88 @@ +/* code { - color: #000; +color: #000; } -.admonition { - background: rgb(128, 198, 223); - color: #fff; +.article pre code { +background: rgba(0, 0, 0, 0); } + */ -.tip { - background: rgb(110, 110, 110); - color: #fff; +.admonition.warning .admonition-title, .admonition.warning { +background-color: #d73726 !important; +color: #fff !important; +} + +.admonition.tip .admonition-title, .admonition.tip { +background: #6e6e6e !important; +color: #fff !important; +} + +a { +color: #d73726; +} + +a:visited { +color: #990000; } +a:hover { +color: #ff8080; +} + + img[alt$=">"] { - float:right; - display: inline-block; - padding-left: 10px; + float:right; + display: inline-block; + padding-left: 10px; } img[alt$="<"] { - float:left; - display: inline-block; - padding-right: 10px; + float:left; + display: inline-block; + padding-right: 10px; } img[alt$="><"] { - display: block; - max-width: 100%; - height: auto; - margin: auto; - float: none!important; + display: block; + max-width: 100%; + height: auto; + margin: auto; + float: none!important; } -.article pre code { - background: rgba(0, 0, 0, 0); +@media only screen and (min-width: 76.25em) { + .md-main__inner { + max-width: none; + } + .md-sidebar--primary { + left: 0; + } + .md-sidebar--secondary { + right: 0; + margin-left: 0; + -webkit-transform: none; + transform: none; + } + .wy-nav-content { + max-width: 100%; + } +} + +pre { + overflow-x: auto; +} + +.wy-side-nav-search { + background-color: #d73726; + color: #fff; } + +.wy-side-nav-search a:visited{ +color: #fff; +} + +.toctree-l1 a:visited { +color: #ccc; +} + |
