ldc-legaulois/resources/sass/front/pages/opbrcharcut/_subheader.scss
2022-03-10 13:31:10 +00:00

39 lines
No EOL
905 B
SCSS
Vendored

.sub_header_enter_code,
.sub_header_print_br {
background-image: url("~@/images/opbrcharcut/opbr_banner_mobile.png");
width: 100%;
height: 83vw;
background-size: contain;
background-position: center center;
background-repeat: no-repeat;
&::after {
background-image: none;
@include min-width($tablet) {
background-image: url("~@/images/entete.svg");
}
}
@include min-width($tablet) {
height: 44em;
background-size: cover;
background-image: url("~@/images/opbrcharcut/opbr_banner.jpg");
}
& .title {
position: absolute;
left: 50%;
top: 0;
transform: translateX(-50%);
margin: 6rem 0 0;
width: 100%;
font-size: 1.2em;
& h1 {
color: white;
text-align: center;
font-family: "Veneer";
}
}
}