| Index: static/scss/_utilities.scss |
| =================================================================== |
| --- a/static/scss/_utilities.scss |
| +++ b/static/scss/_utilities.scss |
| @@ -28,24 +28,29 @@ |
| { |
| display: block; |
| width: 100%; |
| } |
| /** |
| * Center content within a (responsive) fixed width |
| */ |
| -.container |
| +@mixin container($width: $container-width, $padding-x: $small-space) |
| { |
| - width: $container-width; |
| + width: $width; |
| max-width: 100%; |
| margin-right: auto; |
| margin-left: auto; |
| - padding-right: $small-space; |
| - padding-left: $small-space; |
| + padding-right: $padding-x; |
| + padding-left: $padding-x; |
| +} |
| + |
| +.container |
| +{ |
| + @include container; |
| } |
| /* Device widths |
| ******************************************************************************/ |
| .phone-width { width: $phone-width; } |
| .phablet-width { width: $phablet-width; } |
| .tablet-width { width: $tablet-width; } |