update wrapper width to leave gaps
This commit is contained in:
parent
5a8272b47d
commit
dd60f943dd
|
@ -1,7 +1,5 @@
|
|||
.l-wrapper {
|
||||
outline: 1px dotted #000;
|
||||
|
||||
width: calc(100vw - #{$unit-size});
|
||||
width: $wrapper-width;
|
||||
max-width: $wrapper-max-width;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
|
@ -15,6 +13,7 @@
|
|||
}
|
||||
|
||||
@media (min-width: $bp-m) {
|
||||
width: $wrapper-width-m;
|
||||
padding-left: $padding-horizontal-m;
|
||||
padding-right: $padding-horizontal-m;
|
||||
}
|
||||
|
@ -86,7 +85,7 @@
|
|||
padding-top: 0.5 * $unit-size;
|
||||
padding-bottom: 0.5 * $unit-size;
|
||||
width: 100%;
|
||||
max-width: calc(100% - #{$unit-size});
|
||||
max-width: $wrapper-width;
|
||||
|
||||
@media (min-width: $bp-s) {
|
||||
padding-top: $unit-size;
|
||||
|
|
|
@ -8,15 +8,17 @@ $bp-menu-collpase: $bp-s;
|
|||
|
||||
$z-index__header: 100;
|
||||
|
||||
$wrapper-max-width: $bp-l;
|
||||
$wrapper-max-width--wide: 110rem;
|
||||
|
||||
$font-size-body: 1em;
|
||||
$font-size-body--xxs: 0.9em;
|
||||
|
||||
$line-height-body: 1.6;
|
||||
$unit-size: 1.6rem;
|
||||
|
||||
$wrapper-width: calc(100vw - #{$unit-size / 2});
|
||||
$wrapper-width-m: calc(100vw - #{$unit-size});
|
||||
$wrapper-max-width: $bp-l;
|
||||
$wrapper-max-width--wide: 110rem;
|
||||
|
||||
$font-size-h1--xs: 2.875rem;
|
||||
$font-size-h1--s: 2.875rem;
|
||||
$font-size-h1--m: 2.875rem;
|
||||
|
|
Reference in New Issue