Sha256: d2de95f5342421f0598bd1a2821a897bd061e059119c65264472a66839f2d9be
Contents?: true
Size: 1.13 KB
Versions: 1
Compression:
Stored size: 1.13 KB
Contents
/* ========================================================================== Page intro ========================================================================== */ .intro { margin: 1rem 0; padding-top: 2rem; padding-bottom: 2rem; } .intro-image { position: relative; margin-top: -3rem; /* compensate for intro top margin */ margin-bottom: 3rem; &::before { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-color: rgba($accent-color, 0.25); content: ''; } img { width: 100%; } } .intro-text { /* remove space after last child element */ > *:last-child { margin-bottom: 0; } } .intro-title { @include fluid-type($min-vw, $max-vw, 26px, 80px); margin-bottom: 1rem; color: tint($text-color, 25%); line-height: 1; } .intro-subtitle { @include fluid-type($min-vw, $max-vw, 18px, 28px); font-style: italic; } .intro-actions { @include list-unstyled; li { display: inline-block; } } .intro-more { > p:first-child { font-size: 1.125em; line-height: 1.625; } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jekyll-theme-basically-basic-1.0.1 | _sass/basically-basic/_intro.scss |