modifs carousel desktop + corrections partenaires et img portrait fullpage

This commit is contained in:
Valentin
2024-01-22 15:25:26 +01:00
parent eee07205df
commit 3a0fe66eca
5 changed files with 60 additions and 128 deletions

View File

@@ -470,6 +470,8 @@ body.toolbar-fixed header {
height: 30vh !important;
overflow-y: hidden;
padding: 0 !important;
display: flex;
align-items: center;
}
.slick-container div.views-row article > div:first-of-type > div {
width: 100%;
@@ -481,50 +483,21 @@ body.toolbar-fixed header {
width: 100%;
height: auto;
}
@media (min-width: 1080px) {
.slick-container div.views-row article > div:first-of-type {
height: 50vh !important;
}
}
@media (min-width: 760px) {
.slick-container div.views-row article .preview_meta {
margin-left: 0;
margin-right: 0;
justify-content: flex-start;
flex-direction: column;
}
.slick-container div.views-row article .preview_meta > div:last-of-type {
padding-top: 0.5rem;
}
.slick-container div.views-row article h2, .slick-container div.views-row article .preview_sous_titre {
padding-left: 0;
padding-right: 0;
}
}
@media (min-width: 1080px) {
.slick-container div.views-row article {
display: flex;
align-items: flex-end;
border-bottom: solid 1px #038788;
}
.slick-container div.views-row article > div:first-of-type {
width: calc(50% + 6.25vw);
height: 40vh !important;
align-self: flex-start;
min-height: 100% !important;
}
.slick-container div.views-row article > div:last-of-type {
width: calc(50% - 6.25vw);
padding-bottom: 4rem;
}
.slick-container div.views-row article > div:last-of-type > div, .slick-container div.views-row article > div:last-of-type > h2 {
padding-left: 3vw;
}
.slick-container div.views-row article > div:last-of-type > div:first-of-type {
padding-top: 3rem;
}
.slick-container div.views-row article > div:last-of-type > div:last-of-type {
margin-top: 0.5rem;
}
.slick-container div.views-row article .preview_infos {
background-color: #fcf9ee;
}
}
.slick-container .slick-arrow {
display: none !important;
width: 2rem;
@@ -536,6 +509,11 @@ body.toolbar-fixed header {
background-color: rgba(255, 255, 255, 0.4) !important;
transition: background-color 0.3s ease;
}
@media (min-width: 1080px) {
.slick-container .slick-arrow {
transform: translateY(-5rem);
}
}
.slick-container .slick-arrow:hover {
background-color: rgba(255, 255, 255, 0.8) !important;
}
@@ -561,8 +539,7 @@ body.toolbar-fixed header {
}
@media (min-width: 1080px) {
.slick-container #carousel_dots {
margin-top: 8vh;
margin-left: 12.5vw;
margin-top: 4vh;
}
}
.slick-container footer {
@@ -587,13 +564,6 @@ body.toolbar-fixed header {
.slick-container footer a:hover {
background-color: #00ff80;
}
@media (min-width: 1080px) {
.slick-container footer {
margin-top: -2vh;
position: absolute;
right: 12.5vw;
}
}
@media (min-width: 760px) {
.slick-container {
padding: 0 12.5vw;
@@ -608,22 +578,6 @@ body.toolbar-fixed header {
right: -5rem;
}
}
@media (min-width: 1080px) {
.slick-container {
padding: 0;
padding-right: 12.5vw;
padding-bottom: 10vh;
}
.slick-container .slick-prev, .slick-container .slick-next {
bottom: 20%;
}
.slick-container .slick-prev {
display: none !important;
}
.slick-container .slick-next {
display: block !important;
}
}
.actu_full div {
font-family: "Marianne", sans-serif;
@@ -1720,7 +1674,7 @@ body.toolbar-fixed header {
}
@media (min-width: 1080px) {
.content_partenaires .views-row article > div:first-of-type > div:first-of-type > div {
width: 15vw;
width: 10vw;
}
}
.content_partenaires .views-row article > div:first-of-type > div:nth-of-type(2) {

File diff suppressed because one or more lines are too long