Sha256: efb5d543e4186aa752b141c8536f47c4fc5477eea00ed7dfb6ff603b9f4e0b3c
Contents?: true
Size: 499 Bytes
Versions: 2
Compression:
Stored size: 499 Bytes
Contents
/* For blocks of content with media beside them. Adding overflow hidden changes the way the content interacts with the float */ /* Apply it to the wrapper div <div> <img class="content-image" /> <div class="content"></div> </div> */ @mixin media-block($position: left, $spacing:0, $media: '.media', $block: '.block') { #{unquote($media)} { float:$position; @if $spacing > 0 { margin-#{opposite-position($position)}:$spacing; } } #{unquote($block)} { overflow:hidden; } }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
stitch-0.1.1 | stylesheets/stitch/patterns/layout/_media.scss |
stitch-0.1.0 | stylesheets/stitch/patterns/layout/_media.scss |