$topic-header-outer-padding: $spacer-lg; $topic-header-outer-padding-small: $spacer-sm; $topic-header-inner-padding: $spacer-lg; $topic-header-inner-padding-small: $spacer-md; .topic-header { @extend %page-header; padding: $topic-header-outer-padding $topic-header-outer-padding-small; min-height: $fullscreen-like-height; &__body { display: flex; flex-direction: column; align-items: center; margin: 0 auto; background-color: $topic-header-intro-bg-color; background-size: cover; padding: $topic-header-inner-padding-small; max-width: $default-page-layout-content-width-md; color: $topic-header-intro-text-color; } &__punch-in { @extend %punch-in; } &__title { @extend %punch-in; margin-bottom: $spacer-xs; padding-bottom: $spacer-base; text-align: center; line-height: $heading-line-height-sm; font-size: $font-size-xxl; } &__type { @extend %heading-font-bold; margin-bottom: $spacer-xs; text-align: center; text-transform: uppercase; color: $topic-header-intro-text-color; font-size: $font-size-base; } &__tag { @extend %heading-font-regular; } &__text { @extend %body-font-italic; margin-bottom: $spacer-base; padding-right: $topic-header-inner-padding-small; padding-left: $topic-header-inner-padding-small; max-width: 100%; // This fixes IE11 Flexbox rendering issues. text-align: center; line-height: $paragraph-line-height; font-size: $font-size-sm; } } // // Media Queries // @media screen and (min-width: $grid-breakpoint-md) { .topic-header { padding: $topic-header-outer-padding; } .topic-header__body { padding: $topic-header-inner-padding; } .topic-header__title { font-size: $font-size-xxxxl; } .topic-header__subtitle { font-size: $font-size-lg; } .topic-header__text { font-size: $font-size-lg; } } // This fixes IE11 Flexbox rendering issues. // sass-lint:disable no-vendor-prefixes @media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) { .topic-header__body { max-width: 100%; } }