Sha256: 736bb1aad4cb57846eca20c10ca8d7cb9faf3e03b75ca9d341ff06ef6331cb35

Contents?: true

Size: 513 Bytes

Versions: 12

Compression:

Stored size: 513 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

12 entries across 12 versions & 1 rubygems

Version Path
stitch-0.1.7.beta.3 stylesheets/stitch/patterns/layout/_media.scss
stitch-0.1.7.beta.2 stylesheets/stitch/patterns/layout/_media.scss
stitch-0.1.7.beta.1 stylesheets/stitch/patterns/layout/_media.scss
stitch-0.1.6 stylesheets/stitch/patterns/layout/_media.scss
stitch-0.1.5 stylesheets/stitch/patterns/layout/_media.scss
stitch-0.1.4 stylesheets/stitch/patterns/layout/_media.scss
stitch-0.1.4.beta.2 stylesheets/stitch/patterns/layout/_media.scss
stitch-0.1.4.beta.1 stylesheets/stitch/patterns/layout/_media.scss
stitch-0.1.3.2 stylesheets/stitch/patterns/layout/_media.scss
stitch-0.1.3.1 stylesheets/stitch/patterns/layout/_media.scss
stitch-0.1.3 stylesheets/stitch/patterns/layout/_media.scss
stitch-0.1.2 stylesheets/stitch/patterns/layout/_media.scss