actus carrousselle

This commit is contained in:
2024-07-06 18:02:47 +02:00
parent f2891d2beb
commit ac44975dd1
6 changed files with 81 additions and 26 deletions

File diff suppressed because one or more lines are too long

View File

@@ -728,11 +728,12 @@ footer span.totop #toTop .arrow-up::before {
cursor: pointer;
background: transparent;
color: transparent;
top: 50%;
-webkit-transform: translate(0, -50%);
-ms-transform: translate(0, -50%);
transform: translate(0, -50%);
top: -20px;
-webkit-transform: translate(0, -20px);
-ms-transform: translate(0, -20px);
transform: translate(0, -20px);
padding: 0;
padding-bottom: 2rem;
border: none;
outline: none;
}
@@ -757,14 +758,14 @@ footer span.totop #toTop .arrow-up::before {
font-family: "slick";
font-size: 20px;
line-height: 1;
color: white;
color: red;
opacity: 0.75;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.slick-prev {
left: -25px;
left: 45%;
}
[dir=rtl] .slick-prev {
left: auto;
@@ -778,7 +779,7 @@ footer span.totop #toTop .arrow-up::before {
}
.slick-next {
right: -25px;
right: 45%;
}
[dir=rtl] .slick-next {
left: -25px;
@@ -1096,6 +1097,7 @@ footer span.totop #toTop .arrow-up::before {
}
#actus-caroussel h2 {
width: fit-content;
padding-bottom: 2rem;
}
#actus-caroussel .content-actus .view {
display: flex;
@@ -1104,7 +1106,7 @@ footer span.totop #toTop .arrow-up::before {
width: 100vw;
}
#actus-caroussel .content-actus .views-row {
width: 25%;
width: 500px !important;
padding: 1rem;
}
#actus-caroussel .content-actus .views-row .node-type-actualite .field_field_images {
@@ -1113,13 +1115,13 @@ footer span.totop #toTop .arrow-up::before {
-webkit-border-radius: 9px; /* pour Safari sur Mac */
border-radius: 9px; /* CSS3 */
background-color: red;
height: 160px;
height: 250px;
margin-bottom: 0.6rem;
}
#actus-caroussel .content-actus .views-row .node-type-actualite .field_field_images img {
width: 100%;
height: auto;
max-height: 160px;
height: fit-content;
max-height: 250px;
object-fit: cover;
}
#actus-caroussel .content-actus .views-row .node-type-actualite .field_field_type_d_actualite {