$image-overlay-max-height: 300px; .long-description-text { margin: ($spacer * 2) 0; width: 40em; } .very-long-description-text { width: auto; @media (min-width: breakpoint-min("md")) { column-gap: 3em; column-width: 20em; } } .blacklight-browse { .sort-pagination { .page-links { display: none; } .search-widgets { margin-left: auto; } } } .blacklight-browse-show { .subtitle { padding-right: $spacer; &::before { content: " \000B7 "; color: $text-muted; padding-right: $spacer * 0.5; } } } #main-container .browse-group-navigation.nav { margin-bottom: $spacer; .nav-link { margin-bottom: $spacer * 0.75; } } .browse-landing { text-align: center; .category { margin-bottom: $spacer; } .image-overlay { border: 2px solid $gray-600; border-radius: $border-radius-lg; max-height: 240px; min-height: 140px; overflow: hidden; position: relative; .img-responsive { transition: all 0.5s ease; width: 100%; &:hover { filter: brightness(70%); } } } .text-overlay { position: absolute; bottom: 0; left: 0; width: 100%; background: linear-gradient( 0deg, rgba(46, 45, 41, 0.7) 70%, rgba(46, 45, 41, 0) 100% ); color: $white; padding: 50px 20px 20px 20px; text-align: center; // prevents potential blur caused by the vertical-align technique transform-style: preserve-3d; .browse-category-title { font-size: $h3-font-size; .category-subtitle { display: block; } small { display: block; color: $white; margin-top: $spacer; text-transform: uppercase; } } } @media screen and (max-width: breakpoint-max("sm")) { $image-overlay-max-height: 240px; .image-overlay { margin: 10px auto; max-height: $image-overlay-max-height; max-width: 350px; } .text-overlay .browse-category-title { font-size: $h3-font-size; } } @media screen and (min-width: breakpoint-min("sm")) and (max-width: breakpoint-max("md")) { $image-overlay-max-height: 240px; .image-overlay { max-height: $image-overlay-max-height; } } @media screen and (min-width: breakpoint-min("md")) and (max-width: breakpoint-max("lg")) { $image-overlay-max-height: 250px; .text-overlay .browse-category-title { font-size: $h4-font-size; } .image-overlay { max-height: $image-overlay-max-height; } } @media screen and (min-width: breakpoint-min("lg")) { .image-overlay { max-height: $image-overlay-max-height; } } } .search-box-container { margin: 0 auto; width: 100%; .col-form-label { text-align: right; } .browse-search-form { .btn-reset { background-color: transparent; display: none; margin-left: -42px; left: -40px; z-index: 20; } .search-btn { left: -40px; z-index: 30; } } .browse-search-expand { text-align: center; } }