Skip to content

Commit

Permalink
Merge pull request #126 from neherlab/docs/img-background
Browse files Browse the repository at this point in the history
docs: add light background to images in dark mode
  • Loading branch information
ivan-aksamentov authored Feb 11, 2025
2 parents d15971f + 94c16aa commit e68cf59
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/src/custom.css
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
@import '~katex/dist/katex.min.css';

html[data-theme='dark'] img {
background-color: #555;
padding: 10px;
box-sizing: border-box;
}

0 comments on commit e68cf59

Please sign in to comment.