Skip to content

Commit

Permalink
add custom css file
Browse files Browse the repository at this point in the history
  • Loading branch information
xujianxin committed Aug 30, 2018
1 parent 87ef618 commit e28a777
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,5 @@ umls/
.idea/
.DS_Store
_build
_static
_templates
.vscode
venv
3 changes: 3 additions & 0 deletions docs/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.wy-side-nav-search>a img.logo, .wy-side-nav-search .wy-dropdown>a img.logo{
width: 80%;
}
3 changes: 3 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ def _warn_node(self, msg, node, **kwargs):
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']

def setup(app):
app.add_stylesheet('css/custom.css')


# -- Options for HTMLHelp output ------------------------------------------

Expand Down

0 comments on commit e28a777

Please sign in to comment.