.homepage-jumbotron { @extend .valign-wrapper, .center-align; justify-content: center; flex-direction: column; color: white; @media #{$large-and-up} { height: calc(70vh - #{$navbar-height}); } @media #{$medium-and-down} { height: calc(100vh - #{$navbar-height}); } } .homepage-recent-content { h2 { @extend .center-align; margin-bottom: $element-bottom-margin * 2; } }