Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cfa1780

Browse filesBrowse files
committed
Dark mode: add class to invert image brightness
1 parent e3ef253 commit cfa1780
Copy full SHA for cfa1780

File tree

1 file changed

+4
-0
lines changed
Filter options

1 file changed

+4
-0
lines changed

‎python_docs_theme/static/pydoctheme_dark.css

Copy file name to clipboardExpand all lines: python_docs_theme/static/pydoctheme_dark.css
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,7 @@ div.note {
120120
.nav-content {
121121
background-color: black;
122122
}
123+
124+
img.invert-in-dark-mode {
125+
filter: invert(1) hue-rotate(.5turn);
126+
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.