Merge pull request #460 from limichange/patch-5
feat: adjust latex svg image to dark theme
This commit is contained in:
commit
0dd5d7fb3d
|
@ -232,6 +232,10 @@ $navbar-dark-active-color: $link-color-dark;
|
||||||
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 {
|
[data-dark-mode] body .navbar .btn-link:hover {
|
||||||
color: $navbar-dark-hover-color;
|
color: $navbar-dark-hover-color;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue