Improve dark mode

This commit is contained in:
grandeljay 2022-06-12 10:57:18 +02:00
parent 319e9359b2
commit 5ed3326619
2 changed files with 10 additions and 0 deletions

View file

@ -1,6 +1,11 @@
.ui.card > .image {
overflow: hidden;
}
@media (prefers-color-scheme: dark) {
.ui.card > .image {
filter: brightness(80%);
}
}
.ui.card > .image img {
display: block;

View file

@ -4,6 +4,11 @@
overflow: hidden;
}
@media (prefers-color-scheme: dark) {
.ui.fitted.segment.image {
filter: brightness(80%);
}
}
.ui.fitted.segment.image img {
display: block;