Skip to content

Instantly share code, notes, and snippets.

@telday
Created April 17, 2020 21:00
Show Gist options
  • Save telday/eba7057a3fbd7686908bcefd09852ee3 to your computer and use it in GitHub Desktop.
Save telday/eba7057a3fbd7686908bcefd09852ee3 to your computer and use it in GitHub Desktop.
Read The Docs Theme ugly boxes fix
html_static_path = ['_static']
html_css_files = ['no_boxes.css']
.rst-content dt.field-odd {
margin-bottom:6px;
border:none;
border-left:none !important;
background:#fff !important;
color:#000 !important;
font-weight:bold !important;
}
.rst-content dt.field-even {
margin-bottom:6px;
border:none;
border-left:none !important;
background:#fff !important;
color:#000 !important;
font-weight:bold !important;
}
@telday
Copy link
Author

telday commented Apr 17, 2020

css to get rid of the ugly gray boxes around "Parameters" and "Returns" when you generate documentation using the Read the Docs theme for sphinx on a local computer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment