Sha256: 800ca6102b75b95d94c841913f91b81815511c5c0f20027460b755f2a6de7249

Contents?: true

Size: 633 Bytes

Versions: 2

Compression:

Stored size: 633 Bytes

Contents

.post-card {
  display: block;
  width: 100%;
  min-height: 250px;
  border-radius: 4px;
  overflow: hidden;
  background-color: $bg-color;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  margin-bottom: 5.26316%;

  @include breakpoint($md) {
    width: 48.4375%;
    margin-right: 3.125%;

    &:last-of-type,
    &:nth-child(2n+2) {
      margin-right: 0;
    }
  }

  @include breakpoint($xl) {
    width: 31.25%;
    margin-right: 3.125%;

    &:nth-child(2n+2) {
      margin-right: 3.125%;
    }

    &:last-of-type,
    &:nth-child(3n+3) {
      margin-right: 0;
    }
  }
}

.post-card--inner {
  padding: 1.875rem 1.25rem;
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jekyll-sleek-0.1.1 _sass/components/_card.scss
jekyll-sleek-0.1.0 _sass/components/_card.scss