Skip to content

Commit

Permalink
Now using no max-width on sphinx_rtd_theme (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
bourque authored Sep 25, 2024
1 parent 338ae9a commit ffcc83b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/source/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/* Increase the width of the content area */
.wy-nav-content {
max-width: none;
}

/* Center the content */
.wy-nav-content {
margin-left: auto;
margin-right: auto;
}
5 changes: 5 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,8 @@

html_theme = 'sphinx_rtd_theme'
html_static_path = ['_static']


# Add the custom CSS file to the list of stylesheets
def setup(app):
app.add_css_file('css/custom.css')

0 comments on commit ffcc83b

Please sign in to comment.