website/_sass/bootstrap/scss/mixins/_cards.scss
Rolf Amfelt f06abe5ab5
Some checks failed
continuous-integration/drone/push Build is failing
jekyll update
2024-01-20 16:06:39 +01:00

43 lines
734 B
SCSS
Executable file

// Card variants
@mixin card-variant($background, $border) {
background-color: $background;
border-color: $border;
}
@mixin card-outline-variant($color) {
background-color: transparent;
border-color: $color;
}
//
// Inverse text within a card for use with dark backgrounds
//
@mixin card-inverse {
.card-header,
.card-footer {
border-bottom: $card-border-width solid rgba(255,255,255,.2);
}
.card-header,
.card-footer,
.card-title,
.card-blockquote {
color: #fff;
}
.card-link,
.card-text,
.card-blockquote > footer {
color: rgba(255,255,255,.65);
}
.card-link {
@include hover-focus {
color: $card-link-hover-color;
}
}
.card-text > a {
color: #fff;
}
}