myvideogamelist.com/resources/assets/demo1/sass/layout/_content.scss

28 lines
519 B
SCSS
Raw Permalink Normal View History

//
// Content
//
// Desktop mode
@include media-breakpoint-up(lg) {
.content {
padding: get($content-spacing, desktop) 0;
// Toolbar enabled and toolbar not fixed mode
.toolbar-enabled:not(.toolbar-fixed) & {
padding-top: 0;
}
}
}
// Tablet & mobile modes
@include media-breakpoint-down(lg) {
.content {
padding: get($content-spacing, tablet-and-mobile) 0;
// Toolbar enabled mode and toolbar not fixed mode
.toolbar-enabled:not(.toolbar-tablet-and-mobile-fixed) & {
padding-top: 0;
}
}
}