Index: static/scss/_utilities.scss |
=================================================================== |
--- a/static/scss/_utilities.scss |
+++ b/static/scss/_utilities.scss |
@@ -34,20 +34,29 @@ |
* Center content within a (responsive) fixed width |
*/ |
.container |
{ |
width: $container-width; |
max-width: 100%; |
margin-right: auto; |
margin-left: auto; |
- padding-right: $small-space; |
- padding-left: $small-space; |
+ @include padding-breakpoints($container-spacing, 'x'); |
} |
+/** |
+ * Vertically separate sections of content |
+ */ |
+.section |
+{ |
+ @extend .clearfix; |
+ @include padding-breakpoints($section-spacing, 'y'); |
+} |
+ |
+ |
/* Device widths |
******************************************************************************/ |
.phone-width { width: $phone-width; } |
.phablet-width { width: $phablet-width; } |
.tablet-width { width: $tablet-width; } |
.desktop-width { width: $desktop-width; } |
.large-desktop-width { width: $large-desktop-width; } |