Added sass variables for max content width, with and without sidebar.

This commit is contained in:
Fredrik Jonsson 2017-05-18 14:02:15 +02:00
commit c0b9480f7c

View file

@ -32,8 +32,11 @@
// We wrap the max-width declaration with zen-layout() so we can see the value
// of $zen-gutters when it is at the larger "xl"-sized media query.
@include zen-layout(xl) {
// The max content width is 1140px (the container width minus the gutters.)
max-width: 1140px + $zen-gutters;
max-width: $max-content-width + $zen-gutters;
.no-sidebars & {
max-width: $max-no-sidebars-content-width + $zen-gutters;
}
}
@include zen-respond-to(m) {