Deploying to gh-pages from @ fcfda461a9 🚀

This commit is contained in:
sivan 2020-10-22 05:15:38 +00:00
parent a1208a1f26
commit 10d7c11695

View file

@ -53,16 +53,23 @@
}
}
@media (prefers-color-scheme: dark) {
.card {
background-color: hsl(0, 0%, 16%);
> figcaption {
border-block-start: 1px solid hsl(0, 0%, 20%);
}
@mixin darkmode {
background-color: hsl(0, 0%, 16%);
> figcaption {
border-block-start: 1px solid hsl(0, 0%, 20%);
}
.card__vertical-container {
border-color: hsl(0, 0%, 20%);
}
}
.card {
[data-darkmode="dark"] & {
@include darkmode();
}
@media (prefers-color-scheme: dark) {
[data-darkmode="auto"] & {
@include darkmode();
}
}
}