Sha256: d0ad9988913d718fa8c59b703fbd92d65ec7dffe24ad190fe2a718dbf59e89cf

Contents?: true

Size: 411 Bytes

Versions: 3

Compression:

Stored size: 411 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) {
  margin-left: auto;
  margin-right: auto;
  max-width: $max-width;
  padding-left: $padding;
  padding-right: $padding;
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
codelation_assets-0.4.0 app/assets/stylesheets/codelation/mixins/outer_container.scss
codelation_assets-0.3.9 app/assets/stylesheets/codelation/mixins/outer_container.scss
codelation_assets-0.3.8 app/assets/stylesheets/codelation/mixins/outer_container.scss