modifs carousel desktop + corrections partenaires et img portrait fullpage
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
width: 20vw;
|
||||
}
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
width: 15vw;
|
||||
width: 10vw;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -9,6 +9,8 @@
|
||||
height: 30vh !important;
|
||||
overflow-y: hidden;
|
||||
padding: 0 !important;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
> div {
|
||||
width: 100%;
|
||||
> a {
|
||||
@@ -19,50 +21,21 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
height: 50vh !important;
|
||||
}
|
||||
}
|
||||
@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);
|
||||
height: 40vh !important;
|
||||
align-self: flex-start;
|
||||
min-height: 100% !important;
|
||||
}
|
||||
> 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;
|
||||
}
|
||||
}
|
||||
.preview_infos {
|
||||
background-color: $beige;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.slick-arrow {
|
||||
display: none !important;
|
||||
width: 2rem;
|
||||
@@ -73,6 +46,9 @@
|
||||
bottom: 5%;
|
||||
background-color: rgba(255, 255, 255, 0.4) !important;
|
||||
transition: background-color 0.3s ease;
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
transform: translateY(-5rem);
|
||||
}
|
||||
}
|
||||
.slick-arrow:hover {
|
||||
background-color: rgba(255, 255, 255, 0.8) !important;
|
||||
@@ -97,8 +73,7 @@
|
||||
}
|
||||
}
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
margin-top: 8vh;
|
||||
margin-left: 12.5vw;
|
||||
margin-top: 4vh;
|
||||
}
|
||||
}
|
||||
footer {
|
||||
@@ -106,36 +81,17 @@
|
||||
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;
|
||||
@media (min-width: $breakpoint_tablet) {
|
||||
padding: 0 12.5vw;
|
||||
.slick-prev, .slick-next {
|
||||
display: block !important;
|
||||
}
|
||||
.slick-prev {
|
||||
left: -5rem;
|
||||
}
|
||||
.slick-next {
|
||||
right: -5rem;
|
||||
}
|
||||
}
|
||||
.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;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user