@@ -22,38 +22,37 @@ form a grid system.
2222
2323.o-container {
2424 @include clearfix ();
25- box-sizing :content-box ;
2625 margin-right : auto ;
2726 margin-left : auto ;
2827 max-width : rem (1170px );
29- padding-left : rem (15 px );
30- padding-right : rem (15 px );
28+ padding-left : rem ($gutter );
29+ padding-right : rem ($gutter );
3130}
3231
3332
3433// OUTER PADDING MODIFIERS
3534// --------------------------------------------------------------------------------------------------------------------------------------
3635
3736/*
38- Modifiers to tweak the containers outer padding .
37+ Modifiers to tweak the containers outer spacing .
3938*/
4039
4140// Generate using settings.spacing
42- // Example: o-container-padding -small
41+ // Example: o-container-spacing -small
4342@each $sp-name , $sp-value in $spacing {
44- .o-container--padding -#{$sp-name } {
43+ .o-container--spacing -#{$sp-name } {
4544 padding-left :rem ($sp-value );
4645 padding-right :rem ($sp-value );
4746 }
4847}
4948
5049// Create responsive variants using settings.breakpoints
51- // Changes outer padding when breakpoint is hit
52- // Example: o-container-padding -small@md
50+ // Changes outer spacing when breakpoint is hit
51+ // Example: o-container-spacing -small@md
5352@each $bp-name , $bp-value in $breakpoints {
5453 @include bp (#{$bp-name } ) {
5554 @each $sp-name , $sp-value in $spacing {
56- .o-container--padding -#{$sp-name } \@ #{$bp-name } {
55+ .o-container--spacing -#{$sp-name } \@ #{$bp-name } {
5756 padding-left :rem ($sp-value );
5857 padding-right :rem ($sp-value );
5958 }
@@ -62,12 +61,12 @@ Modifiers to tweak the containers outer padding.
6261}
6362
6463// Create responsive variants using settings.breakpoints
65- // Changes outer padding until breakpoint is hit
66- // Example: o-container-padding -small@max-md
64+ // Changes outer spacing until breakpoint is hit
65+ // Example: o-container-spacing -small@max-md
6766@each $bp-name , $bp-value in $breakpoints {
6867 @include bpMax (#{$bp-name } ) {
6968 @each $sp-name , $sp-value in $spacing {
70- .o-container--padding -#{$sp-name } \@ max-#{$bp-name } {
69+ .o-container--spacing -#{$sp-name } \@ max-#{$bp-name } {
7170 padding-left :rem ($sp-value );
7271 padding-right :rem ($sp-value );
7372 }
0 commit comments