Sha256: 9f610e514a126d622bb2d5f9b663062830ccceb228a76531cdf48e7d0decb8ef
Contents?: true
Size: 952 Bytes
Versions: 11
Compression:
Stored size: 952 Bytes
Contents
/* 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%; } } } a.image { overflow: hidden; img { @include vendor('transition', 'transform #{_duration(transition)} ease'); } &:hover { img { @include vendor('transform', 'scale(1.075)'); } } }
Version data entries
11 entries across 11 versions & 1 rubygems