Sha256: facd92053d823e956dde9edacf6e2e8f53a07b967b734f172e5d2673a748d737

Contents?: true

Size: 429 Bytes

Versions: 1

Compression:

Stored size: 429 Bytes

Contents

$max-width: 1024px !default;

// Sets the max width of a container and centers it by setting margin-left and
// margin-right to auto. The max width can be overridden by defining $max-width.
// A left and right padding of 12px is added by default.
@mixin outer-container($padding: 12px) {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: $max-width;
  padding-left: $padding;
  padding-right: $padding;
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
codelation_assets-0.3.7 app/assets/stylesheets/codelation/mixins/outer_container.scss