Sha256: be8714182b57d1960a301be5b1cddf06b77f6ad6e76e152a135d1568aa8f6b2d
Contents?: true
Size: 1.58 KB
Versions: 3
Compression:
Stored size: 1.58 KB
Contents
.hero { margin: 3.75rem auto 0; min-height: 16.25rem; width: 100%; position: relative; background-color: #dde5ea; background-repeat: no-repeat; background-position: 50%; background-size: cover; @include breakpoint($lg) { margin: 0 auto; height: 36em; } &::before { position: absolute; display: block; content: ""; top: 0; left: 0; width: 100%; height: 100%; background: rgba(52, 56, 81, .8); } } .hero--small { margin: 3.75rem auto 0; min-height: 8.75rem; width: 100%; position: relative; background-color: $dark-light; @include breakpoint($lg) { height: 12.5em; } &::before { position: absolute; display: block; content: ""; top: 0; left: 0; width: 100%; height: 100%; background: rgba(52, 56, 81, .8); } } .hero__wrap { position: absolute; margin: auto; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; color: rgba(255, 255, 255, 0.8); width: 100%; max-width: 90%; z-index: 1; @include breakpoint($md) { max-width: 40em; } .hero__title { font-size: 1.8em; color: $bg-color; @include breakpoint($md) { padding: 1rem 0; font-size: 2.625em; line-height: 3.125rem; } } } .page-content { max-width: 52.5rem; margin: 0 auto; padding: 2.5em 0; @include breakpoint($md) { padding: 3.75rem 0; } } .blog { background-color: #f9f9f9; } .post-list { padding-top: 2.5em; display: flex; flex-wrap: wrap; flex: 1 0 auto; @include breakpoint($md) { padding-top: 5em; } }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
jekyll-sleek-0.1.9 | _sass/pages/_page.scss |
jekyll-sleek-0.1.8 | _sass/pages/_page.scss |
jekyll-sleek-0.1.7 | _sass/pages/_page.scss |