You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
410 B
11 lines
410 B
// Container mixins
|
|
|
|
@mixin make-container($gutter: $container-padding-x) {
|
|
--#{$prefix}gutter-x: #{$gutter};
|
|
--#{$prefix}gutter-y: 0;
|
|
width: 100%;
|
|
padding-right: calc(var(--#{$prefix}gutter-x) * .5); // stylelint-disable-line function-disallowed-list
|
|
padding-left: calc(var(--#{$prefix}gutter-x) * .5); // stylelint-disable-line function-disallowed-list
|
|
margin-right: auto;
|
|
margin-left: auto;
|
|
}
|