Skip to content

Commit

Permalink
add custom css for header
Browse files Browse the repository at this point in the history
  • Loading branch information
TomDonoghue committed Apr 30, 2024
1 parent 31bb7f9 commit ccb376d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/_static/my-styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@


.navbar-form {
margin-right: -75px;
}
6 changes: 6 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,12 @@
html_copy_source = False
html_show_sourcelink = False

# Add link to custom css
html_static_path = ["_static"]

# Add function for stylesheets path
def setup(app):
app.add_css_file("my-styles.css")

# -- Extension configuration -------------------------------------------------

Expand Down

0 comments on commit ccb376d

Please sign in to comment.