Newer
Older
Ekaterina Kondareva
committed
:host {
display: block;
}
.with-sidebar {
.hy-main-content-wrapper {
margin: 0 auto;
// Layout Mobile 320-479px
max-width: 22.5rem; // 328px
padding: 0 1rem;
Ekaterina Kondareva
committed
// Layout Tablet 480-959px
@include breakpoint($narrow) {
max-width: 48rem; // 704px
padding: 0 2rem;
}
// Layout Small Desktop 960-1200px
// Side navigation disappears to hamburger when width < 1200.
Ekaterina Kondareva
committed
@include breakpoint($wide) {
max-width: 64rem; // 960px
Ekaterina Kondareva
committed
}
Ekaterina Kondareva
committed
@include breakpoint($extrawide) {
max-width: 64rem; // 960px
}
// Large desktop Layout >1441px
@include breakpoint($overwide) {
max-width: 80rem; // 1216px + (32px + 32px side margins)
}
}
}
.without-sidebar {
.hy-main-content-wrapper {
margin: 0 auto;
// Layout Mobile 320-479px
max-width: 22.5rem; // 328px + (16px + 16px side margins)
padding: 0 1rem;
Ekaterina Kondareva
committed
// Layout Tablet 480-959px
@include breakpoint($narrow) {
max-width: 48rem; // 704px + (32px + 32px side margins)
padding: 0 2rem;
}
// Layout Small Desktop 960-1200px
@include breakpoint($wide) {
max-width: 64rem; // 960px + (32px + 32px side margins)
}
Ekaterina Kondareva
committed
@include breakpoint($extrawide) {
max-width: 80rem; // 1216px + (32px + 32px side margins)
}
// Large desktop Layout >1441px
@include breakpoint($overwide) {
max-width: 94rem; // 1440px + (32px + 32px side margins)
}
}
}