Sha256: ea8c8088968af54bb7c2e2d30e4165dc150e7b68fd9125fcddc716ec375f67a2
Contents?: true
Size: 1.81 KB
Versions: 2
Compression:
Stored size: 1.81 KB
Contents
.item { @include flexbox(); @include media-breakpoint-down(md) { @include flex-direction(column); } &:not(:last-child) { margin-bottom: map-get($base, vertical-space); } list-style-type: none; } .item__image { margin-right: map-get($spacers, 3); @include media-breakpoint-down(md) { margin-right: 0; } @include media-breakpoint-up(md) { & + .item__content { & > :first-child { margin-top: 0; & > :first-child { margin-top: 0; } } } } } .item__content { @include flex(1); min-width: 0; } a.item__header, .item__header > a { @include link-colors($text-color-d, $main-color-1); } .item__meta { color: $text-color-l; } .item__description { &, .article__content { font-size: map-get($base, font-size-sm); line-height: map-get($base, line-height); @include block-elements() { margin-top: map-get($base, vertical-space); margin-bottom: map-get($base, vertical-space); } @include heading-elements() { margin-top: map-get($base, vertical-space) * 1.5; } h1, h2, h3 { color: $text-color; } h1, h2 { padding: 0; border: none; } h1 { font-size: map-get($base, font-size-h1-xs); } h2 { font-size: map-get($base, font-size-h2-xs); } h3 { font-size: map-get($base, font-size-h3-xs); } h4 { font-size: map-get($base, font-size-h4-xs); } h5 { font-size: map-get($base, font-size-h5-xs); } h6 { font-size: map-get($base, font-size-h6-xs); } img { max-height: 12rem; } } } .items--divided { .item { &:not(:first-child) { padding-top: map-get($spacers, 4); } &:not(:last-child) { padding-bottom: map-get($spacers, 4); @include split-line(bottom); } } }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jekyll-text-theme-2.2.1 | _sass/common/components/_item.scss |
jekyll-text-theme-2.2.0 | _sass/common/components/_item.scss |