Index: static/scss/_utilities.scss |
=================================================================== |
--- a/static/scss/_utilities.scss |
+++ b/static/scss/_utilities.scss |
@@ -38,16 +38,45 @@ |
width: $container-width; |
max-width: 100%; |
margin-right: auto; |
margin-left: auto; |
padding-right: $small-space; |
padding-left: $small-space; |
} |
+/** |
+ * Vertically space sections of content |
+ */ |
+.section |
ire
2017/10/30 08:07:20
TOL: I'm a bit hesitant about this because this is
juliandoucette
2017/10/30 12:16:46
Nah, I think I like your section more. I want to b
|
+{ |
+ @extend .clearfix; |
+ margin-top: $small-space; |
ire
2017/10/30 08:07:20
Using these variables has the same problem as usin
juliandoucette
2017/10/30 12:16:46
Agreed.
|
+ margin-bottom: $small-space; |
+ padding-top: $small-space; |
+ padding-bottom: $small-space; |
+ |
+ @media(min-width: $tablet-breakpoint) |
ire
2017/10/30 08:07:20
NIT: I think we should decide on if we put a space
juliandoucette
2017/10/30 12:16:46
Agreed.
|
+ { |
+ padding-top: $medium-space; |
+ padding-bottom: $medium-space; |
+ padding-top: $medium-space; |
+ padding-bottom: $medium-space; |
+ } |
+ |
+ @media(min-width: $desktop-breakpoint) |
+ { |
+ padding-top: $large-space; |
+ padding-bottom: $large-space; |
+ padding-top: $large-space; |
+ padding-bottom: $large-space; |
+ } |
+} |
+ |
+ |
/* 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; } |