Sha256: 70d32a2516cfa88026ce5f5d1dc06df776a3c0a302c6ae6d6c443ecce979440e

Contents?: true

Size: 720 Bytes

Versions: 1

Compression:

Stored size: 720 Bytes

Contents

// Cards
.card {
  background: $bg-color-light;
  border: $border-width solid $border-color;
  border-radius: $border-radius;
  display: flex;
  flex-direction: column;

  .card-header,
  .card-body,
  .card-footer {
    padding: $layout-spacing-lg;
    padding-bottom: 0;

    &:last-child {
      padding-bottom: $layout-spacing-lg;
    }
  }

  .card-image {
    padding-top: $layout-spacing-lg;

    &:first-child {
      padding-top: 0;

      img {
        border-top-left-radius: $border-radius;
        border-top-right-radius: $border-radius;
      }
    }

    &:last-child {
      img {
        border-bottom-left-radius: $border-radius;
        border-bottom-right-radius: $border-radius;
      }
    }
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spectre_scss-0.3.2.0 vendor/assets/stylesheets/spectre/src/_cards.scss