new design bandeau actu home
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1530,46 +1530,54 @@ footer {
|
||||
padding-bottom: 0rem;
|
||||
}
|
||||
}
|
||||
#actus-caroussel .content-actus .view .view-rows-wrapper {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: nowrap;
|
||||
width: 100vw;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row {
|
||||
padding: 1rem;
|
||||
}
|
||||
@media (max-width: 550px) {
|
||||
#actus-caroussel .content-actus .views-row {
|
||||
width: 296px !important;
|
||||
padding-top: 3rem;
|
||||
}
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_field_images {
|
||||
order: 1;
|
||||
background-color: black;
|
||||
-moz-border-radius: 9px; /* pour Mozilla */
|
||||
-khtml-border-radius: 9px; /* pour Safari et Chrome */
|
||||
-webkit-border-radius: 9px; /* pour Safari sur Mac */
|
||||
border-radius: 9px; /* CSS3 */
|
||||
#actus-caroussel .content-actus .views-row {
|
||||
display: flex;
|
||||
margin: auto;
|
||||
width: 50%;
|
||||
font-size: 0.5rem;
|
||||
margin-top: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
padding-bottom: 1rem;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
border-bottom: solid black 0.5px;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 2fr;
|
||||
grid-template-rows: repeat(5 1fr);
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_images {
|
||||
grid-column: 1;
|
||||
grid-row: 1/span 5;
|
||||
width: 250px;
|
||||
margin-right: 1rem;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama {
|
||||
width: 100%;
|
||||
margin-bottom: 0.6rem;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center !important;
|
||||
margin: auto;
|
||||
margin-right: 1rem;
|
||||
}
|
||||
@media (max-width: 550px) {
|
||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_field_images {
|
||||
height: 170px;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama .slick-list {
|
||||
margin: auto;
|
||||
padding-top: 0 !important;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_field_images div.cadre-img-zoom {
|
||||
height: 100%;
|
||||
display: block;
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama .slick-list .cadre-img-zoom {
|
||||
display: flex;
|
||||
margin: auto;
|
||||
width: 250px;
|
||||
height: auto;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_field_images div.cadre-img-zoom img {
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama .slick-list .cadre-img-zoom img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
object-fit: cover;
|
||||
@@ -1578,106 +1586,161 @@ footer {
|
||||
-webkit-border-radius: 9px; /* pour Safari sur Mac */
|
||||
border-radius: 9px; /* CSS3 */
|
||||
}
|
||||
@media (max-width: 550px) {
|
||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_field_images div.cadre-img-zoom img {
|
||||
max-height: 170px;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama .slick-list blockquote.image-field-caption {
|
||||
margin: 0;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_field_type_d_actualite {
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama .slick-list blockquote.image-field-caption p {
|
||||
margin-top: 0;
|
||||
font-size: 0.4rem;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama button {
|
||||
margin: auto;
|
||||
transform: none;
|
||||
top: 30%;
|
||||
height: 0;
|
||||
width: 0;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama button:before {
|
||||
transform: scale(0.4) !important;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama button:before:hover {
|
||||
filter: brightness(1.75);
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama button.slick-next {
|
||||
right: 15%;
|
||||
padding: 0;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama button.slick-prev {
|
||||
left: 5%;
|
||||
padding: 0;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_type_d_actualite,
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_date,
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_site,
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_title,
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_body,
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_liens {
|
||||
grid-column: 2;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_type_d_actualite {
|
||||
order: 2;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_type_d_actualite a {
|
||||
text-transform: uppercase;
|
||||
color: red;
|
||||
font-size: 0.5rem;
|
||||
font-family: "gilroy-bold";
|
||||
font-size: 0.6rem;
|
||||
font-weight: 600;
|
||||
display: inline-flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_field_type_d_actualite::before {
|
||||
content: url("../img/type-actu.svg");
|
||||
padding-right: 0.3rem;
|
||||
padding-bottom: 0.2rem;
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_type_d_actualite a::before {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
width: 16px; /* Ajuste la largeur */
|
||||
height: 16px; /* Ajuste la hauteur */
|
||||
background-image: url("../img/type-actu.svg");
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
padding-right: 0.4rem;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_field_type_d_actualite a {
|
||||
color: red;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_field_date {
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_date {
|
||||
order: 3;
|
||||
color: red;
|
||||
font-size: 0.6rem;
|
||||
font-weight: 600;
|
||||
display: inline-flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
font-size: 0.5rem;
|
||||
font-family: "gilroy-bold";
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_field_date::before {
|
||||
content: url("../img/date-actu.svg");
|
||||
padding-right: 0.3rem;
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_date::before {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
width: 16px; /* Ajuste la largeur */
|
||||
height: 16px; /* Ajuste la hauteur */
|
||||
background-image: url("../img/date-actu.svg");
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
padding-right: 0.4rem;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_title {
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_site {
|
||||
order: 4;
|
||||
padding-top: 0.2rem;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_title h2 {
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_site a {
|
||||
color: red;
|
||||
font-size: 0.6rem;
|
||||
font-weight: 600;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding-left: 0.2rem;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_site a::before {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
width: 10px; /* Ajuste la largeur */
|
||||
height: 10px; /* Ajuste la hauteur */
|
||||
background-image: url("../img/map_pointer.svg");
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
padding-right: 0.5rem;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_title {
|
||||
order: 5;
|
||||
line-height: 1rem;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_title a {
|
||||
color: rgb(7, 50, 194);
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_title h2 {
|
||||
margin: 0;
|
||||
line-height: 0.4;
|
||||
padding-bottom: 0.6rem;
|
||||
padding-left: 0;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_title h2 a {
|
||||
font-size: 0.8rem;
|
||||
color: rgb(7, 50, 194);
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_body {
|
||||
order: 5;
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_body {
|
||||
order: 6;
|
||||
padding-bottom: 1rem;
|
||||
opacity: 1 !important;
|
||||
transform: none !important;
|
||||
font-family: "gilroy-regular";
|
||||
padding-bottom: 0.5rem;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_body p {
|
||||
margin: 0;
|
||||
margin-bottom: 1rem;
|
||||
font-size: 0.7rem;
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_body p {
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_body a {
|
||||
color: rgb(7, 50, 194);
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_field_liens {
|
||||
order: 6;
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_liens {
|
||||
order: 7;
|
||||
padding: 0;
|
||||
width: fit-content;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_liens a {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
padding-left: 0.5rem;
|
||||
background: black;
|
||||
}
|
||||
@media (max-width: 810px) {
|
||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_field_liens {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_field_liens a {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
color: white;
|
||||
background: black;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.6rem;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_field_liens a svg {
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_liens a svg {
|
||||
display: none;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_field_liens a::after {
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_liens a::after {
|
||||
display: inline-flex;
|
||||
content: url("../img/noun-arrow-to-right.svg");
|
||||
padding-right: 0.2rem;
|
||||
padding-left: 0.2rem;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row:nth-child(odd) {
|
||||
position: relative;
|
||||
top: 60px;
|
||||
#actus-caroussel .content-actus .views-row .toggle-actualite {
|
||||
display: block;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
margin: 10px auto;
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
font-size: 24px;
|
||||
cursor: pointer;
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
@media (max-width: 550px) {
|
||||
#actus-caroussel .content-actus .views-row:nth-child(odd) {
|
||||
top: 0;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .toggle-actualite:hover {
|
||||
transform: scale(1.2);
|
||||
}
|
||||
|
||||
header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-header {
|
||||
@@ -3966,6 +4029,10 @@ main {
|
||||
opacity: 1 !important;
|
||||
transform: none !important;
|
||||
}
|
||||
#ressources .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .type-vidéo .img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
#ressources .layout-content .content_container .views-element-container .view-rows-wrapper .views-row:has(.type-podcast) {
|
||||
width: 50%;
|
||||
}
|
||||
|
Reference in New Issue
Block a user