mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
properly include taxonomy_dark mixin (#581)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
@mixin taxonomy {
|
||||
@mixin taxonomy_dark {
|
||||
.taxonomy-element {
|
||||
background-color: $alt-bg-color-dark;
|
||||
|
||||
@@ -10,3 +10,13 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
body.colorscheme-dark {
|
||||
@include taxonomy_dark();
|
||||
}
|
||||
|
||||
body.colorscheme-auto {
|
||||
@media (prefers-color-scheme: dark) {
|
||||
@include taxonomy_dark();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user