mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
* Added information panel shortcodes (#437) * Added information panel shortcodes * Fixed dark mixin * Moved mixin location to correct location Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com> * Fix SCSS styling * Update generated files * Fix notice HTML * Fix Makefile * Rename JS file * Adsd emoji support for lang selectors * Fix notices and other things * Fix JS on template * Update example content * Update images * Update generated files * Fix netlify preview * Fix netlify preview build * Fix netlify theme path Co-authored-by: Jian Liew <jianloongliew@gmail.com>
46 lines
686 B
SCSS
46 lines
686 B
SCSS
@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;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
body.colorscheme-dark {
|
|
@include content_dark();
|
|
}
|
|
|
|
body.colorscheme-auto {
|
|
@media (prefers-color-scheme: dark) {
|
|
@include content_dark();
|
|
}
|
|
}
|