Sha256: 5bc61f02cedd5341ea977c55631b5ed7230f68f7dea629afaca12608940503ce

Contents?: true

Size: 579 Bytes

Versions: 2

Compression:

Stored size: 579 Bytes

Contents

// Shared Container API
// ====================

// Container Output
// ----------------
// - [$width]         : <length>
// - [$justify]       : left | center | right
// - [$layout-math]   : fluid | static
@mixin container-output(
  $width        : susy-get(container),
  $justify      : susy-get(container-position),
  $layout-math  : susy-get(layout-math)
) {
  $property   : if($layout-math == static, width, max-width);
  $justify    : parse-container-position($justify);

  #{$property}: $width or 100%;
  margin-left: nth($justify, 1);
  margin-right: nth($justify, 2);
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
susy-2.0.0.alpha.6 sass/susy/api/shared/_container.scss
susy-2.0.0.alpha.5 sass/susy/api/shared/_container.scss