Merge pull request #460 from limichange/patch-5

feat: adjust latex svg image to dark theme
This commit is contained in:
Henk Verlinde 2021-09-21 15:36:26 +02:00 committed by GitHub
commit 0dd5d7fb3d
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;
}