page actualite css

This commit is contained in:
2025-03-31 11:45:52 +02:00
parent f15763890c
commit d7d8ec0c7d
6 changed files with 139 additions and 132 deletions

View File

@@ -30,7 +30,7 @@
@media(max-width: 810px){
display: flex;
margin:auto;
margin-top: 14rem;
margin-top: 16rem;
}
h1{
width: fit-content;

View File

@@ -35,66 +35,6 @@
padding-bottom: 7rem;
display: flex;
flex-direction: column;
div{
order: 2;
display: flex;
flex-direction: column;
.field_body {
order: 2;
padding-bottom: 2rem;
// opacity:1 !important;
// display: block !important;
font-family: "gilroy-light" ;
p{
font-size: 0.8rem;
}
}
.field_field_site{
// margin-top: 0.2rem;
margin-left: 0.5rem;
align-items: center;
a{
color: red;
font-size: 0.7rem;
font-weight: 600;
display: inline-flex;
align-items: center;
// margin-left: 1rem;
padding-left: 0.1rem;
&::before{
content: "";
display: inline-block;
width: 10px; /* Ajuste la largeur */
height: 20px; /* Ajuste la hauteur */
background-image: url("../img/map_pointer.svg");
background-size: contain;
background-repeat: no-repeat;
// margin-right: 0.4rem;
padding-right: 0.5rem;
}
}
}
.field_field_images{
order: 5;
img{
width: 100%;
height: auto;
}
blockquote.image-field-caption{
margin-left: 0;
margin-top: 0;
p{
margin-top: 0;
font-size: 0.4rem;
}
}
}
}
.infos-actu{
order: 1;
@@ -104,7 +44,6 @@
border-bottom: solid red 1px;
padding: 1rem 0rem;
margin-bottom: 1rem;
// justify-content: space-around;
.field_field_type_d_actualite a{
text-transform: uppercase;
@@ -133,14 +72,51 @@
padding-right: 0.4rem;
}
}
.field_field_site{
margin-left: 0.5rem;
align-items: center;
a{
color: red;
font-size: 0.7rem;
font-weight: 600;
display: inline-flex;
align-items: center;
padding-left: 0.1rem;
&::before{
content: "";
display: inline-block;
width: 10px; /* Ajuste la largeur */
height: 20px; /* Ajuste la hauteur */
background-image: url("../img/map_pointer.svg");
background-size: contain;
background-repeat: no-repeat;
padding-right: 0.5rem;
}
}
}
}
.content-wrapper-actu{
order: 2;
display: flex;
flex-direction: column;
.field_body {
order: 1;
padding-bottom: 1rem;
font-family: "gilroy-light" ;
p{
font-size: 0.8rem;
}
}
.field_field_liens{
order: 3;
// padding-bottom: 2rem;
// padding-top: 2rem;
margin-left: 1rem;
order: 2;
width: fit-content;
display: block !important;
margin-bottom: 1rem;
a{
display: flex;
flex-direction: row;
@@ -165,9 +141,26 @@
}
}
.field_field_images{
order: 3;
img{
width: 100%;
height: auto;
}
blockquote.image-field-caption{
margin-left: 0;
margin-top: 0;
p{
margin-top: 0;
font-size: 0.4rem;
}
}
}
}
}
.toggle-actualite{

View File

@@ -19,7 +19,7 @@
#block-quartiers-de-demain-formulaireexposeressourcespage-1,
#block-quartiers-de-demain-formulaireexposeactuspage-1{
background-color: white;
padding: 0.3rem 1rem 1rem 1rem;
padding: 0.3rem 0.5rem 1rem 1rem;
width: 100%;
@media(max-width: 810px){
display: flex;

View File

@@ -213,7 +213,7 @@ header{
padding-left: 1rem;
padding-right: 1rem;
margin: auto;
padding-top: 1%;
// padding-top: 5%;
@media(max-width: 1025px){
top: 0;
align-items: center;
@@ -261,6 +261,13 @@ header{
#block-quartiers-de-demain-selecteurdelangue{
width: fit-content;
margin: auto;
@media(max-width: 810px){
padding-bottom: 0.5rem;
margin-bottom: 0.5rem;
.links{
margin-top: 0.5rem;
}
}
}
}
@@ -333,7 +340,7 @@ header{
}
@media(max-width: 810px){
width: 100%;
height: 170px;
// height: 170px;
}
@media (min-width: 1400px) {
height: $header-height-big;

View File

@@ -46,7 +46,7 @@
@import "pages/partenaires";
@import "pages/pour_candidater";
@import "pages/static";
@import "pages/actualite";
@import "pages/node-type-actualite";
@import "pages/node-type-site";
@import "pages/lessites.scss";
@import "pages/ressources";