Sha256: d9eda05fff599e96dc90a18ed3d450142d87d1d778abf0f711f6ef5536cdf749
Contents?: true
Size: 1017 Bytes
Versions: 2
Compression:
Stored size: 1017 Bytes
Contents
// Blog post card .cards { // Mimics Bootstrap v4 .card-deck, stretching cards to equal height, but without // stretching width when there are fewer cards on one row (cards remain equal width) div[class*="col"] { display: flex; align-items: stretch; } } .card { margin-bottom: $grid-gutter-width; min-width: 100%; // Use allowed width even if content is smaller .card-title { a { text-decoration: none; } } .card-img-top { height: 150px; object-fit: cover; } .card-subtitle { color: $gray-600; margin-bottom: 0.5rem; } .card-footer { background: inherit; border-top: none; // Smaller badge then the one defined in _header.scss .badge { border: 1px solid $link-color; color: $link-color; font-family: $font-family-base; text-decoration: none; text-transform: uppercase; &:hover, &:focus { border: 1px solid $link-hover-color; color: $link-hover-color; } } } }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jekyll-theme-petridish-3.1.0 | _sass/_card.scss |
jekyll-theme-petridish-3.0 | _sass/_card.scss |