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

8 months ago
  1. // Container mixins
  2. @mixin make-container($gutter: $container-padding-x) {
  3. --#{$prefix}gutter-x: #{$gutter};
  4. --#{$prefix}gutter-y: 0;
  5. width: 100%;
  6. padding-right: calc(var(--#{$prefix}gutter-x) * .5); // stylelint-disable-line function-disallowed-list
  7. padding-left: calc(var(--#{$prefix}gutter-x) * .5); // stylelint-disable-line function-disallowed-list
  8. margin-right: auto;
  9. margin-left: auto;
  10. }