Skip to content

Commit

Permalink
Disable highlighting of BibTeX background (#681)
Browse files Browse the repository at this point in the history
* Disable highlighting of BibTeX background

* Just disable all background highlighting
  • Loading branch information
garrison committed Sep 10, 2024
1 parent cf6c61b commit 1a6afe7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/* Disable backgrounds in code highlighting, which look especially bad in dark mode. */
.highlight * {
background-color: transparent !important;
}
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
"light_logo": "images/qiskit-light-logo.svg",
}
html_static_path = ["_static"]
html_css_files = ["css/custom.css"]

# autodoc/autosummary options
autosummary_generate = True
Expand Down

0 comments on commit 1a6afe7

Please sign in to comment.