@randstad-design/orbit-multitheme
Version:
multitheme Front-end code based on Randstad Human Forward components
101 lines (89 loc) • 2.53 kB
CSS
.info-block__frame {
background: rgba(0, 0, 0, 0.5);
border-radius: 4px;
color: #fff;
padding: 10px 20px; }
.info-block__title {
font-family: Montserrat-ExtraBold, arial, sans-serif;
font-size: 26px;
text-transform: uppercase;
line-height: 30px;
font-size: 26px;
margin-bottom: unset;
padding: 10px 0 5px; }
@media (min-width: 941px) {
.info-block__title {
font-family: Montserrat-ExtraBold, arial, sans-serif;
font-size: 32px;
text-transform: uppercase;
line-height: 40px; } }
.info-block__title + .info-block__description {
padding-bottom: 10px; }
.info-block__description {
font-family: Montserrat, arial, sans-serif;
font-size: 18px;
text-transform: none;
line-height: 30px;
margin-bottom: unset; }
.info-block--small-screen {
background-size: cover;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
height: 100%;
-webkit-box-pack: end;
-webkit-justify-content: flex-end;
-ms-flex-pack: end;
justify-content: flex-end;
min-height: 230px;
-o-object-fit: cover;
object-fit: cover;
padding: 40% 20px 30px; }
@media (min-width: 941px) {
.info-block--small-screen {
display: none; } }
.info-block--large-screen {
align-self: end;
grid-row-start: 1;
margin-bottom: 30px;
margin-top: 20px;
overflow: hidden; }
@media (max-width: 940px) {
.info-block--large-screen {
display: none; } }
@media (min-width: 501px) {
.split-view--photo .media-block {
height: 250px;
overflow: hidden;
position: relative; }
.split-view--photo .media-block.media-block--for-text {
height: unset;
min-height: 250px; } }
@media (min-width: 941px) {
.split-view--photo .media-block {
height: auto;
position: absolute; } }
@media (max-width: 500px) {
.split-view--photo .media-block img {
height: auto;
position: static;
-webkit-transform: none;
transform: none; } }
@media (min-width: 501px) {
.split-view--photo .media-block img {
position: absolute; } }
@media (min-width: 941px) {
.split-view--photo .media-block img {
bottom: auto; } }
@media (min-width: 941px) {
.split-view--photo .banner__content {
width: calc((23/58) * 100%); }
.split-view--photo .banner__content--on-grid {
width: unset; } }
/*# sourceMappingURL=photo.css.map */