Skip to content

Commit

Permalink
Merge branch 'master' of github.com:squidfunk/mkdocs-material
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Jun 23, 2023
2 parents 3be797e + 9e0c005 commit a22f39b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/images.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ hash fragment to the image URL:
=== "Custom light scheme"

``` css
[data-md-color-scheme="custom-light"] img[src$="#only-dark"]
[data-md-color-scheme="custom-light"] img[src$="#only-dark"],
[data-md-color-scheme="custom-light"] img[src$="#gh-dark-mode-only"] {
display: none; /* Hide dark images in light mode */
}
Expand Down

0 comments on commit a22f39b

Please sign in to comment.