order link node site et projet

This commit is contained in:
2025-11-04 23:45:43 +01:00
parent 2ca0ea9c50
commit 77b82ce054
3 changed files with 130 additions and 29 deletions

View File

@@ -95,6 +95,8 @@
// margin-left: 3rem;
margin-right: 3rem;
margin-top: 1rem;
display: flex;
flex-direction: column;
.field_field_nom_de_l_equipe{
border-top: solid black 1px;
@@ -144,31 +146,34 @@
}
.paragraph--type--projet-diapo{
.field_field_images_projet{
display: flex !important;
flex-direction: row !important;
// justify-content: space-between;
gap: 20px;
flex-wrap: wrap;
margin-bottom: 2rem;
@media(max-width: 500px){
flex-direction: column !important;
}
.cadre-img-zoom{
// margin: auto;
img{
object-fit: cover;
width: 220px;
height: 145px;
.diaporama{
display: flex !important;
flex-direction: row !important;
// justify-content: space-between;
gap: 20px;
flex-wrap: wrap;
margin-bottom: 2rem;
@media(max-width: 500px){
flex-direction: column !important;
}
}
.image-field-caption{
margin: 0;
max-width: 200px;
p{
margin-top: 0;
font-size: 0.5rem;
font-family: 'gilroy-light';
.cadre-img-zoom{
// margin: auto;
img{
object-fit: cover;
width: 220px;
height: 145px;
}
}
.image-field-caption{
margin: 0;
max-width: 200px;
p{
margin-top: 0;
font-size: 0.5rem;
font-family: 'gilroy-light';
}
}
}
}
}
@@ -203,6 +208,22 @@
}
}
div:has(.field_field_nom_de_l_equipe){
order: 1;
}
div:has(.field_field_infos){
order: 2;
}
div:has(.field_field_parties_projet){
order: 5;
}
div:has(.field_field_documents){
order: 3;
margin-top: 2rem;
}
div:has(.field_field_liens){
order: 4;
}
}
}
.layout__region--third{

View File

@@ -186,7 +186,7 @@
div:has(.field_title){
align-content: end;
order: 1;
}
.field_field_sous_titre{
@@ -196,6 +196,7 @@
div:has(.field_field_sous_titre){
flex: 0 0 100%;
order: 2;
}
.infos{
@@ -206,6 +207,7 @@
flex-wrap: wrap;
padding-bottom: 0.5rem;
font-family: 'gilroy-light';
order: 3;
div{
div:nth-of-type(2){
font-size: 0.7rem;
@@ -250,6 +252,7 @@
div:has(.field_field_parties){
margin-top: 2rem;
width: 100%;
order:6;
@media(max-width: 500px){
width: 100%;
}
@@ -320,6 +323,38 @@
}
}
}
div:has(.field--name-field-documents){
order: 5;
margin-top: 0.5rem;
.field--name-field-documents{
a{
display: inline-flex;
align-items: center;
color: white;
background: black;
padding-left: 0.5rem;
text-transform: uppercase;
font-size: 0.5rem;
margin-bottom: 0.3rem;
svg{
display: none;
}
&::after{
display: inline-flex;
content: url("../img/noun-arrow-to-right.svg");
padding-right: 0.2rem;
padding-left: 0.2rem;
// padding-bottom: 0.2rem;
}
}
}
}
div:has(.field_field_liens){
}
}
}