Skip to content

Commit

Permalink
update css
Browse files Browse the repository at this point in the history
  • Loading branch information
lazka committed Dec 4, 2016
1 parent 32381df commit 96559a1
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 1 deletion.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ include MANIFEST.in
include README.rst
include HACKING.rst
include NEWS.rst
recursive-include docs *.py Makefile *.rst *.png *.svg *.ico
recursive-include docs *.py Makefile *.rst *.png *.svg *.ico *.css
prune docs/_build
8 changes: 8 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@
html_theme_options = {
"display_version": False,
}
html_context = {
'extra_css_files': [
'_static/extra.css',
],
}
html_static_path = [
"extra.css",
]

extlinks = {
'bug': ('https://github.com/lazka/senf/issues/%s', '#'),
Expand Down
32 changes: 32 additions & 0 deletions docs/extra.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
.wy-side-nav-search {
background-color: initial;
}

.wy-nav-top {
background-color: #404040;
}

.wy-side-nav-search input[type="text"] {
border-color: transparent;
}

.wy-nav-content {
margin: initial;
}

.rst-content div[role=navigation], footer {
font-size: 0.85em;
color: #999;
}

.rst-content div[role=navigation] hr {
margin-top: 6px;
}

footer hr {
margin-bottom: 6px;
}

.rst-footer-buttons {
display: none;
}

0 comments on commit 96559a1

Please sign in to comment.