Sha256: 497bc4e8e6440c2511a1f7c5e5cd4f0917337be3e7e3e396a7b27b2f90a47dee

Contents?: true

Size: 662 Bytes

Versions: 15

Compression:

Stored size: 662 Bytes

Contents

.image-block {
  padding: 0;

  .image-block-copy {
    padding: 80px 0;
    min-height: 400px;

    p {
      margin: 30px 0;
    }
  }

  .image {
    position: absolute; 
    top: 0; 
    height: 100%; 
  }

  .image-right {
    right: 0;
  }

  .image-left {
    left: 0;
  }

  &.image-block-bottom {
    .image {
      bottom: 0;
      top: 80px;
    }
  }
}

@media(max-width: $screen-xs-max) {
  .image-block {

    .image-block-copy {
      padding: 40px 0;
      min-height: 300px;
    }

    .image {
      position: relative;
      height: 300px;
      width: 100%;
    }

    &.image-block-bottom {
      .image {
        top: 0;
      }
    }
  }
}

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
leather2-3.5.3 app/assets/stylesheets/leather/components/_image_block.scss
leather-3.5.2 app/assets/stylesheets/leather/components/_image_block.scss
leather-3.5.1 app/assets/stylesheets/leather/components/_image_block.scss
leather-3.5.0 app/assets/stylesheets/leather/components/_image_block.scss
leather-3.3.5 app/assets/stylesheets/leather/components/_image_block.scss
leather-3.3.4.1 app/assets/stylesheets/leather/components/_image_block.scss
leather-3.3.4 app/assets/stylesheets/leather/components/_image_block.scss
leather-3.3.3.4 app/assets/stylesheets/leather/components/_image_block.scss
leather-3.3.3.3 app/assets/stylesheets/leather/components/_image_block.css.scss
leather-3.3.3.2 app/assets/stylesheets/leather/components/_image_block.css.scss
leather-3.3.3.1 app/assets/stylesheets/leather/components/_image_block.css.scss
leather-3.3.2 app/assets/stylesheets/leather/components/_image_block.css.scss
leather-3.3.1 app/assets/stylesheets/leather/components/_image_block.css.scss
leather-3.3.0 app/assets/stylesheets/leather/components/_image_block.css.scss
leather-3.2.0 app/assets/stylesheets/leather/components/_image_block.css.scss