mirror of
https://gitea.phreedom.club/tolstoevsky/fedi.git
synced 2024-11-19 10:09:14 +00:00
13 lines
233 B
SCSS
Executable file
13 lines
233 B
SCSS
Executable file
// Contextual backgrounds
|
|
|
|
// [converter] $parent hack
|
|
@mixin bg-variant($parent, $color) {
|
|
#{$parent} {
|
|
background-color: $color;
|
|
}
|
|
a#{$parent}:hover,
|
|
a#{$parent}:focus {
|
|
background-color: darken($color, 10%);
|
|
}
|
|
}
|