intégration du design il manque que les images de fond

This commit is contained in:
Valentin
2023-12-15 20:04:59 +01:00
parent cb35336870
commit a0137d95ac
19 changed files with 832 additions and 121 deletions

View File

@@ -6,7 +6,7 @@
width: 100%;
> div:first-of-type { // container du lien image
width: 100%;
height: 40vh;
height: 30vh !important;
overflow-y: hidden;
padding: 0 !important;
> div {
@@ -20,7 +20,62 @@
}
}
}
@media (min-width: $breakpoint_tablet) {
.preview_meta {
margin-left: 0;
margin-right: 0;
justify-content: flex-start;
flex-direction: column;
> div:last-of-type {
padding-top: 0.5rem;
}
}
h2, .preview_sous_titre {
padding-left: 0;
padding-right: 0;
}
}
@media (min-width: $breakpoint_desktop) {
display: flex;
align-items: flex-end;
border-bottom: solid 1px $teal;
> div:first-of-type {
width: calc(50% + 6.25vw);
}
> div:last-of-type {
width: calc(50% - 6.25vw);
padding-bottom: 4rem;
> div, > h2 {
padding-left: $x_margin;
}
> div:first-of-type {
padding-top: 3rem;
}
> div:last-of-type {
margin-top: 0.5rem;
}
}
}
}
.slick-arrow {
display: none !important;
width: 2rem;
height: 2rem;
border-radius: 1.5rem;
border: solid 1px $teal;
top: unset;
bottom: 5%;
background-color: rgba(255, 255, 255, 0.4) !important;
transition: background-color 0.3s ease;
}
.slick-arrow:hover {
background-color: rgba(255, 255, 255, 0.8) !important;
}
.slick-arrow::before {
color: $teal;
font-family: 'Marianne', sans-serif;
display: block;
padding-bottom: 3px;
}
#carousel_dots {
position: relative;
@@ -35,11 +90,46 @@
color: rgba(0.9, 0.9, 0.9, 1);
}
}
@media (min-width: $breakpoint_desktop) {
margin-top: 8vh;
margin-left: 12.5vw;
}
}
footer {
@include fluo_button();
text-align: center;
margin-top: 4rem;
margin-bottom: 4rem;
@media (min-width: $breakpoint_desktop) {
margin-top: -2vh;
position: absolute;
right: 12.5vw;
}
}
@media (min-width: $breakpoint_tablet) {
padding: 0 12.5vw;
.slick-prev, .slick-next {
display: block !important;
}
.slick-prev {
left: -5rem;
}
.slick-next {
right: -5rem;
}
}
@media (min-width: $breakpoint_desktop) {
padding: 0;
padding-right: 12.5vw;
padding-bottom: 10vh;
.slick-prev, .slick-next {
bottom: 20%;
}
.slick-prev {
display: none !important;
}
.slick-next {
display: block !important;
}
}
}