liebling/src/sass/layouts/_wrapper.scss
2019-10-03 17:07:33 +02:00

58 lines
887 B
SCSS
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

.l-wrapper {
position: relative;
width: 100%;
margin: 0 auto;
padding: 0 $mobile-space;
@include respond-to('medium') {
max-width: 1200px;
}
@include respond-to('extra-large') {
padding: 0;
}
&.in-submenu {
padding: 0;
@include respond-to('medium') {
padding: 0 $mobile-space;
}
@include respond-to('extra-large') {
padding: 0;
}
}
&.in-post {
@include respond-to('medium') {
max-width: 960px;
}
&.no-image {
padding-top: 40px;
@include respond-to('medium') {
padding-top: 80px;
}
}
}
&.in-comments {
@include respond-to('medium') {
max-width: 820px;
}
}
&.in-recommended {
@include respond-to('large') {
padding: 0;
max-width: calc(100% - 60px);
}
@include respond-to('largest') {
max-width: 1200px;
}
}
}