actus caroussel overflow....

This commit is contained in:
2024-07-08 22:36:58 +02:00
parent 47dba3466b
commit 47792a44c0
8 changed files with 206 additions and 125 deletions

File diff suppressed because one or more lines are too long

View File

@ -732,7 +732,7 @@ footer {
cursor: pointer;
background: transparent;
color: transparent;
top: -1rem;
top: -2rem;
-webkit-transform: translate(0, -1rem);
-ms-transform: translate(0, -1rem);
transform: translate(0, -1rem);
@ -977,7 +977,7 @@ footer {
#home * {
box-sizing: border-box;
}
#home .config_pages--type--deroulement {
#home .__container-deroulement {
background-color: #f3f5fc;
background-image: url(../../../dist/assets/img/pillier-1.svg);
background-repeat: no-repeat;
@ -985,14 +985,21 @@ footer {
background-position-x: -20%;
}
@media (max-width: 1090px) {
#home .config_pages--type--deroulement {
#home .__container-deroulement {
cursor: grab;
}
}
#home .__container-deroulement h2 {
width: fit-content;
margin: auto;
padding-top: 3rem;
font-size: 1.7rem;
font-weight: bold;
}
#home .timeline {
white-space: nowrap;
overflow: hidden;
padding-top: 10rem;
padding-top: 5rem;
padding-bottom: 4rem;
}
@media (max-width: 1090px) {
@ -1006,6 +1013,7 @@ footer {
margin: auto;
position: relative;
top: -115px;
padding-bottom: 2rem;
}
@media (max-width: 1090px) {
#home .timeline .__timeline-arrows {
@ -1020,9 +1028,6 @@ footer {
#home .timeline .__timeline-arrows button:hover {
opacity: 0.5;
}
#home .timeline .__timeline-arrows button svg {
padding: 0.5rem;
}
#home .timeline .__timeline-content {
width: 100vw;
padding-top: 7rem;
@ -1153,8 +1158,9 @@ footer {
}
#home .timeline .__timeline-content .__paragraphs .paragraph--type--phase-deroulement .text .field_field_titre {
font-size: 0.5rem;
font-weight: 800;
}
@media (max-width: 10900px) {
@media (max-width: 1090px) {
#home .timeline .__timeline-content .__paragraphs .paragraph--type--phase-deroulement .text .field_field_titre {
font-size: 1rem;
}
@ -1176,10 +1182,11 @@ footer {
display: flex;
flex-direction: column;
align-items: center;
padding-bottom: 3rem;
}
#actus-caroussel h2 {
width: fit-content;
padding-bottom: 0.6rem;
padding-bottom: 0.4rem;
margin-top: 3rem;
margin-bottom: 3rem;
font-size: 1.7rem;
@ -1193,7 +1200,7 @@ footer {
}
#actus-caroussel .content-actus .views-row {
width: 500px !important;
padding: 1rem;
padding: 2rem;
}
@media (max-width: 550px) {
#actus-caroussel .content-actus .views-row {
@ -1248,6 +1255,7 @@ footer {
color: red;
display: inline-flex;
align-items: center;
font-size: 0.6rem;
}
#actus-caroussel .content-actus .views-row article.node-type-actualite .field_field_date::before {
content: url("../img/date-actu.svg");
@ -1261,6 +1269,10 @@ footer {
font-size: 0.8rem;
color: rgb(7, 50, 194);
}
#actus-caroussel .content-actus .views-row article.node-type-actualite .field_body {
opacity: 1 !important;
transform: none !important;
}
#actus-caroussel .content-actus .views-row article.node-type-actualite .field_body p {
margin: 0;
}