Skip to content

Commit

Permalink
Add CSS to make readthedocs version switcher work with our theme
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisnharvey committed May 7, 2020
1 parent f689db1 commit aff88db
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ repo_url: 'https://github.com/chrisnharvey/magicLAMP'

copyright: 'Copyright © Chris Harvey'

extra_css:
- mkdocs/styles.css

extra_javascript:
- https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js

Expand Down
7 changes: 7 additions & 0 deletions mkdocs/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.rst-versions.rst-badge {
font-size: 16px;
}

.rst-versions.rst-badge.shift-up .rst-current-version .fa-book {
margin-top: 8px;
}

0 comments on commit aff88db

Please sign in to comment.