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

64 lines
1.1 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;
}
}
}
}
}
}
2020-02-19 15:22:28 +00:00
.meta-tag {
color: darken($fg-color-dark, 35%);
background-color: lighten($bg-color-dark, 5%);
border: 0;
&--link {
$link-color-dark--lighter: lighten($link-color-dark, 15%);
color: $link-color-dark--lighter;
&:hover {
opacity: 1;
color: $link-color-dark;
.icon {
color: $link-color-dark--lighter;
}
}
}
}
}
}
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();
}
}