website/_sass/bootstrap/scss/mixins/_background-variant.scss
Jesper Hess f68ff9a945 Directory structure for SASS files
Moved bootstrap folder into _sass/bootstrap
Moved cryptohagen.scss to /assets/css
Added frontmatter to cryptohagen.scss
2017-03-09 09:09:03 +01:00

14 lines
252 B
SCSS

// Contextual backgrounds
@mixin bg-variant($parent, $color) {
#{$parent} {
color: #fff !important;
background-color: $color !important;
}
a#{$parent} {
@include hover-focus {
background-color: darken($color, 10%);
}
}
}