Sha256: d739e6b0f7114c54ee44207ec265800c01dce1e4baa8660b2f13b03c792f66b0

Contents?: true

Size: 935 Bytes

Versions: 7

Compression:

Stored size: 935 Bytes

Contents

///
/// Phantom by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///

/* Image */

.image {
  border-radius: _size(border-radius);
  border: 0;
  display: inline-block;
  position: relative;

  img {
    border-radius: _size(border-radius);
    display: block;
  }

  &.left,
  &.right {
    max-width: 40%;

    img {
      width: 100%;
    }
  }

  &.left {
    float: left;
    padding: 0 1.5em 1em 0;
    top: 0.25em;
  }

  &.right {
    float: right;
    padding: 0 0 1em 1.5em;
    top: 0.25em;
  }

  &.fit {
    display: block;
    margin: 0 0 _size(element-margin) 0;
    width: 100%;

    img {
      width: 100%;
    }
  }

  &.main {
    display: block;
    margin: 0 0 (_size(element-margin) * 1.5) 0;
    width: 100%;

    img {
      width: 100%;
    }

    @include breakpoint(small) {
      margin: 0 0 _size(element-margin) 0;
    }
  }
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
phantom-blergh-0.2.0 _sass/phantom-blergh/components/_image.scss
phantom-blergh-0.1.5 _sass/phantom-blergh/components/_image.scss
phantom-blergh-0.1.4 _sass/phantom-blergh/components/_image.scss
phantom-blergh-0.1.3 _sass/phantom-blergh/components/_image.scss
phantom-blergh-0.1.2 _sass/phantom-blergh/components/_image.scss
phantom-blergh-0.1.1 _sass/phantom-blergh/components/_image.scss
phantom-blergh-0.1.0 _sass/phantom-blergh/components/_image.scss