site/pages/our-work/case-study/retailer/style.css
@value badgerWhite, badgerBlack, badgerRedOnWhite, linesOnWhite from '../../../../css/_colors.css';
@value mediumScreen, largeScreen from '../../../../css/_sizes.css';
.header {
width: 100%;
background-color: #8dcce0;
}
.header__container {
max-width: 760px;
margin: 0 auto;
position: relative;
width: 100%;
height: 310px;
}
.header__imageContainer {
display: flex;
justify-content: center;
align-items: center;
}
.header__image {
max-width: 375px;
height: auto;
}
.header__outcome {
width: 120px;
position: absolute;
}
.header__outcome--right {
text-align: right;
top: 13px;
right: 20px;
}
.header__outcome--right .header__outcome__percentage:after {
position: absolute;
content: '';
display: inline-block;
left: -2px;
bottom: 24px;
width: 6px;
height: 6px;
border-radius: 3px;
background-color: badgerBlack;
}
.header__outcome--left {
bottom: 13px;
left: 20px;
}
.header__outcome--left .header__outcome__percentage:after {
position: absolute;
content: '';
display: inline-block;
right: -2px;
bottom: 24px;
width: 6px;
height: 6px;
border-radius: 3px;
background-color: badgerBlack;
}
.header__outcome__percentage {
composes: fontM from '../../../../css/typography/_fonts.css';
composes: serif from '../../../../css/typography/_fonts.css';
display: block;
border-bottom: 1px dashed badgerBlack;
padding-bottom: 5px;
margin-bottom: 3px;
}
.header__outcome__description {
composes: fontXS from '../../../../css/typography/_fonts.css';
composes: sansSerif from '../../../../css/typography/_fonts.css';
font-size: 16px;
}
.techGraphImage {
max-width: 100%;
height: auto;
padding: 0;
}
.content__list {
list-style-type: disc;
padding-left: 20px;
margin-bottom: 30px;
}
.content__list__element {
line-height: 28px;
}
.listBox {
margin-bottom: 40px;
}
.listBox:last-child {
margin-bottom: 0;
}
.listBox__leftLabel {
composes: lightSerif from '../../../../css/typography/_fonts.css';
}
@media mediumScreen {
.header__container {
height: 400px;
}
.header__image {
max-width: 500px;
height: auto;
}
.header__outcome {
width: 200px;
}
.header__outcome--left {
bottom: 78px;
}
.header__outcome--right {
top: 78px;
}
.content__list {
padding-left: 134px;
}
.overview {
display: flex;
justify-content: space-between;
}
.listBox {
width: calc(50% - 20px);
margin-bottom: 0;
}
.techGraphImage {
padding-left: 20px;
padding-right: 20px;
margin-bottom: 0px;
}
}
@media largeScreen {
.content__list {
padding-left: 33.457143%;
padding-right: 18.2857143%;
}
.header {
padding-bottom: 56px;
}
.techGraphImage {
padding-left: 0;
padding-right: 0;
}
}