Merge pull request #39 from sivan/develop

fix: #34
This commit is contained in:
Sivan 2020-10-26 15:15:37 +08:00 committed by GitHub
commit f294c0778e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -769,14 +769,26 @@ li {
} }
} }
@media (prefers-color-scheme: dark) { [data-darkmode="dark"] .card {
.card {
background-color: #292929; background-color: #292929;
} }
.card > figcaption {
[data-darkmode="dark"] .card > figcaption {
border-block-start: 1px solid #333333; border-block-start: 1px solid #333333;
} }
.card__vertical-container {
[data-darkmode="dark"] .card .card__vertical-container {
border-color: #333333;
}
@media (prefers-color-scheme: dark) {
[data-darkmode="auto"] .card {
background-color: #292929;
}
[data-darkmode="auto"] .card > figcaption {
border-block-start: 1px solid #333333;
}
[data-darkmode="auto"] .card .card__vertical-container {
border-color: #333333; border-color: #333333;
} }
} }