hugo-coder-fork/assets/scss/_content_dark.scss

66 lines
1.0 KiB
SCSS
Raw Normal View History

@mixin content_dark {
.content {
.list {
ul {
li {
.title {
color: $fg-color-dark;
&:hover,
&:focus {
color: $link-color-dark;
}
}
}
}
}
.centered {
.about {
ul {
li {
a {
color: $fg-color-dark;
&:hover,
&:focus {
color: $link-color-dark;
}
}
}
}
}
}
.post-meta {
opacity: 0.8;
}
2020-02-19 15:22:28 +00:00
.meta-tag {
color: darken($fg-color-dark, 35%);
background-color: lighten($bg-color-dark, 5%);
&--link {
2020-02-19 15:37:07 +00:00
color: $link-color-dark;
2020-02-19 15:22:28 +00:00
&:hover {
opacity: 1;
2020-02-19 15:37:07 +00:00
color: lighten($link-color-dark, 15%);
2020-02-19 15:22:28 +00:00
.icon {
2020-02-19 15:37:07 +00:00
color: $link-color-dark;
2020-02-19 15:22:28 +00:00
}
}
}
}
}
}
body.colorscheme-dark {
2020-02-19 15:22:28 +00:00
@include content_dark();
}
body.colorscheme-auto {
@media (prefers-color-scheme: dark) {
2020-02-19 15:22:28 +00:00
@include content_dark();
}
}