⚠️The latest release refactored our HTML, so double-check your custom CSS rules!⚠️

Add your own CSS rules

Add your own CSS rules#

To customize the look of your site further, you can customize your CSS stylesheets, as described in the ReadTheDocs Docs.

First, create a CSS file and place it in _static/custom.css. An example CSS file to change the color of the top-level headers might look like this.

h1 {
    color: #003B71 !important;
}

You also need these two lines in your conf.py file

html_static_path = ["_static"]
html_css_files = ["custom.css"]