Files
hugo-coder-timeline/assets/scss/_float_dark.scss
Luiz F. A. de Prá ed1c854df2 And notice shortcodes (#537)
* 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>
2021-03-24 20:59:33 -03:00

28 lines
461 B
SCSS

@mixin float_dark {
.float-container {
a {
color: $alt-fg-color-dark;
background-color: $alt-bg-color-dark;
&:hover,
&:focus {
color: $link-color-dark;
@media only screen and (max-width: 768px) {
color: $alt-fg-color-dark;
}
}
}
}
}
body.colorscheme-dark {
@include float_dark();
}
body.colorscheme-auto {
@media (prefers-color-scheme: dark) {
@include float_dark();
}
}