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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

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;
}