feat: adjust latex svg image to dark theme

This commit is contained in:
limichange
2021-09-18 15:52:53 +08:00
committed by GitHub
parent 1c9f9bce12
commit 21447f8035

View File

@ -232,6 +232,10 @@ $navbar-dark-active-color: $link-color-dark;
color: $link-color-dark;
}
[data-dark-mode] body .content img[src^="https://latex.codecogs.com/svg.latex"] {
filter: invert(1)
}
[data-dark-mode] body .navbar .btn-link:hover {
color: $navbar-dark-hover-color;
}