Paul van Tilburg
e795544dc3
The card-link class does also other things with padding and spacing. Instead, apply the style override to all links in the list HTML.
31 lines
589 B
SCSS
31 lines
589 B
SCSS
// Include all of Bootstrap
|
|
@import "bootstrap";
|
|
|
|
// Add some padding for the fixed-top navbar
|
|
body {
|
|
padding-top: 80px;
|
|
}
|
|
|
|
// Reduce the large padding for lists
|
|
.list-html ul,
|
|
.list-html ol {
|
|
padding-left: 1.2rem;
|
|
}
|
|
|
|
// On medium screens and up, use two columns
|
|
.card-columns {
|
|
@include media-breakpoint-down(sm) {
|
|
column-count: 1;
|
|
}
|
|
@include media-breakpoint-up(md) {
|
|
column-count: 2;
|
|
}
|
|
}
|
|
|
|
// Card link anchors should inherit the color from the card and use the
|
|
// underline text decoration
|
|
.card-body .card-text a {
|
|
color: inherit;
|
|
text-decoration: underline;
|
|
}
|