Sha256: 1d542b574acef2cbdf1aa0f0ac6076d474a0ffd4223ed55d2ff3a8e7823c179e
Contents?: true
Size: 983 Bytes
Versions: 1
Compression:
Stored size: 983 Bytes
Contents
.RecentPosts { &__title { display: inline-block; } &__list { display: grid; grid-template: auto; gap: var(--site-owl-spacing); } &__item { display: flex; flex-direction: column; max-height: 20rem; } &__excerpt { flex: 1; overflow: hidden; position: relative; &::before { background-image: linear-gradient(to top, #fff, transparent); content: ""; display: block; height: 3rem; position: absolute; bottom: 0; width: 100%; } > p { margin: 0; } } .Button { align-self: flex-end; display: block; width: 100%; } } @include breakpoint("medium") { .RecentPosts__list { grid-template: auto / repeat(2, 1fr); } .RecentPosts .Button { font-size: 1rem; width: auto; } } @include breakpoint("large") { .RecentPosts__list { grid-template: auto / repeat(3, 1fr); } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
oscailte-3.0.1 | _sass/oscailte/components/_recentposts.scss |