Skip to content

Commit

Permalink
Updated RTD sidebar look (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
ljvmiranda921 committed Jul 30, 2017
1 parent ae86cab commit b9afcf5
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/_static/theme_overrides.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.wy-menu-vertical header, .wy-menu-vertical p.caption {
color: gold;
}

.wy-menu-vertical a {
color: white;
}

.wy-side-nav-search
{
color: #cacaca;
background: #074E68
}

.wy-side-nav-search input[type=text] {
border-color: rgba(7, 78, 104, 0.83);
}
6 changes: 6 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,12 @@
# "default.css".
html_static_path = ['_static']

html_context = {
'css_files': [
'_static/theme_overrides.css', # overrides for wide tables in RTD theme
],
}

# If not '', a 'Last updated on:' timestamp is inserted at every page
# bottom, using the given strftime format.
html_last_updated_fmt = '%b %d, %Y'
Expand Down

0 comments on commit b9afcf5

Please sign in to comment.