-
Huste, Tobias authored
- Redesign news cards - Reduce border-radius
Huste, Tobias authored- Redesign news cards - Reduce border-radius
_cards.scss 547 B
.flex-cards {
display: flex;
flex-flow: wrap;
justify-content: space-evenly;
margin-top: 1rem;
margin-bottom: 1rem;
text-align: center;
}
.card {
@include drop-shadow;
width: 15rem;
margin: 0.5rem;
.badge {
@include drop-shadow(
$offset-x: 0.2rem,
$offset-y: 0.2rem,
$color: rgba(black, 0.25)
);
}
}
.card-body {
h3 {
margin: 0 !important;
}
}
.card-img-equal {
width: 100%;
height: 8rem;
object-fit: cover;
}