/lesprojets et page projet

This commit is contained in:
2025-11-03 22:42:26 +01:00
parent 67cf13da9d
commit 3739306af1
11 changed files with 1230 additions and 23 deletions

View File

@@ -0,0 +1,180 @@
main{
background-color: #f6f7f3;
}
#lesprojets{
.content_container{
// background-color: red;
display: flex;
flex-direction: column;
align-items: center;
#block-quartiers-de-demain-titredepage{
margin-top: 1rem;
width: fit-content;
margin-left: 10%;
margin: auto;
padding-left: 20%;
@media(max-width: 810px){
margin-top: 14rem;
grid-column: 2 /span 9;
padding-left: 0%;
}
h1{
text-align: center;
text-transform: none;
color: $blue_QDD;
font-size: 2rem;
font-weight: 500;
}
}
.views-element-container{
width: 90%;
.views-row{
display: flex;
flex-direction: row;
border-top: solid 1px $blue_QDD;
padding-top: 2rem;
.views-field-group{
width: 25%;
margin-bottom: 2rem;
font-size: 0.4rem ;
@media(max-width: 810px){
width: 45%;
}
@media(max-width: 550px){
font-size: 0.7rem ;
}
.views-field-title .field-content a{
color: $blue_QDD;
font-family: "gilroy-bold";
padding-top: 0.5rem;
font-size: 0.55rem ;
@media(max-width: 550px){
font-size: 0.7rem ;
}
}
.views-field-field-images .field-content img{
width: 100%;
height: auto;
aspect-ratio: 1 / 1;
object-fit: cover;
}
.views-field-view-node{
width: fit-content;
padding-left: 0.5rem;
background: black;
@media (max-width:810px) {
margin-left: 0;
}
a{
display: inline-flex;
justify-content: space-between;
align-items: center;
color: white;
text-transform: uppercase;
font-size: 0.6rem;
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;
height: 25px;
}
}
}
}
.views-field-field-projets-lie{
width: 75%;
padding-left: 0;
.field-content{
ul{
display: flex;
flex-direction: row;
margin-top: 0;
li .node-type-projet{
font-size: 0.4rem;
.field_field_laureats{
}
.field_field_nom_de_l_equipe{
h3{
font-size: 0.6rem;
}
}
.field_field_intro{
p{
font-size: 0.5rem;
}
.more-link{
width: fit-content;
padding-left: 0.5rem;
background: black;
@media (max-width:810px) {
margin-left: 0;
}
a{
display: inline-flex;
justify-content: space-between;
align-items: center;
color: white;
text-transform: uppercase;
font-size: 0.6rem;
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;
height: 25px;
}
}
}
}
}
}
}
}
}
}
// .view{
// display: flex;
// flex-direction: column;
// flex-wrap: wrap;
// width: 100vw;
// .views-row-wrapper{
// display: flex;
// flex-direction: row;
// flex-wrap: wrap;
// justify-content: center;
// width: 60%;
// margin: auto;
// padding-left: 10%;
// gap: 25px;
// margin-right: 10%;
// @media (max-width:1100px) {
// padding-left: 0;
// margin-right: auto;
// width: 80%;
// }
// }
// }
}
}

View File

@@ -0,0 +1,267 @@
.node-type-projet{
.layout-content{
margin-top: 2rem;
// max-width: 100vw;
.content_container{
width: 95% !important;
}
}
.layout--threecol-25-50-25{
// flex-wrap: nowrap;
// @media(max-width: 810px){
// display: flex;
// flex-direction: column;
// width: 100%;
// }
.layout__region--first{
flex: 0 1 25%;
margin-top: 1rem;
position: relative;
.block-region-first{
position:fixed;
width: 20% !important;
margin-top: 1rem;
display: flex;
flex-direction: column;
align-items: center;
margin-left: 2rem;
// @media(max-width: 810px){
// position: relative;
// width: 100% !important;
// }
.field_field_site_projet{
.node-type-site{
width: 80%;
.field_title{
h2{
text-transform: none;
font-size: 0.60rem;
a{
color: $blue_QDD;
font-weight: 700;
}
}
}
.field_field_sous_titre{
p{
font-size: 0.55rem;
}
}
.more-link{
width: fit-content;
// padding-left: 0.5rem;
background: black;
@media (max-width:810px) {
margin-left: 0;
}
a{
display: inline-flex;
justify-content: space-between;
align-items: center;
color: white;
text-transform: uppercase;
font-size: 0.6rem;
padding-left: 0.5rem;
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;
height: 25px;
}
}
}
}
}
}
}
.layout__region--second{
flex: 0 1 50% !important;
margin-top: 1rem;
max-width: 50%;
.block-region-second{
// margin-left: 3rem;
margin-right: 3rem;
margin-top: 1rem;
.field_field_nom_de_l_equipe{
border-top: solid black 1px;
padding-bottom: 0.5rem;
}
.field_field_infos{
display: flex;
flex-direction: column;
flex-wrap: wrap;
height: 200px;
border-bottom: solid black 1px;
.infos-projet{
width: 25%;
margin-bottom: 1rem;
h4{
margin: 0;
font-size: 0.7em;
font-family: 'gilroy-light';
}
.field_field_contenu{
font-size: 0.8em;
font-family: 'gilroy-bold';
}
}
}
.field_field_parties_projet{
margin-top: 2rem;
width: 100%;
@media(max-width: 500px){
width: 100%;
}
.paragraph--type--projet-partie-texte{
.field_field_titre_partie_texte_projet{
h3{
}
}
.field_field_texte_partie_texte_projet{
p{
font-family: "gilroy-light";
font-size: 0.6rem;
}
}
}
.paragraph--type--projet-video{
}
.paragraph--type--projet-diapo{
.field_field_images_projet{
}
}
}
.field_field_documents,
.field_field_liens{
width: fit-content;
padding-left: 0.5rem;
background: black;
margin-bottom: 1rem;
@media (max-width:810px) {
margin-left: 0;
}
a{
display: inline-flex;
justify-content: space-between;
align-items: center;
color: white;
text-transform: uppercase;
font-size: 0.6rem;
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;
height: 25px;
}
}
}
}
}
.layout__region--third{
flex: 0 1 25%;
.block-region-third{
position:fixed;
width: 20% !important;
@media(max-width: 810px){
position: relative;
}
div{
display: flex;
flex-direction: column;
// margin-bottom: 1rem;
@media(max-width: 810px){
justify-content: center;
margin: auto;
margin-bottom: 1rem;
width: fit-content;
}
@media(max-width: 500px){
justify-content: center;
margin: auto;
margin-bottom: 1rem;
width: fit-content;
}
h2{
font-family: "gilroy-light";
text-transform: uppercase;
font-size: 0.5rem;
}
.views-row{
width: 80%;
border-bottom: solid black 1px;
padding-bottom: 1rem;
.views-field-field-nom-de-l-equipe{
font-size: 0.6rem;
p{
font-family: "gilroy-semibold";
margin-bottom: 0.5rem;
font-size: 0.6rem;
}
}
.views-field-view-node{
width: fit-content;
padding-left: 0.5rem;
background: black;
@media (max-width:810px) {
margin-left: 0;
}
a{
display: inline-flex;
justify-content: space-between;
align-items: center;
color: white;
text-transform: uppercase;
font-size: 0.6rem;
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;
height: 25px;
}
}
}
}
.field_field_laureats{
color: red;
text-transform: uppercase;
}
}
}
}
}
}

View File

@@ -334,6 +334,7 @@
}
.block-region-third{
position: fixed;
// width: 80%;
@media(max-width: 810px){
position: relative;
}
@@ -353,6 +354,37 @@
margin-bottom: 1rem;
width: fit-content;
}
h2{
font-family: "gilroy-light";
text-transform: uppercase;
font-size: 0.5rem;
}
.field_field_nom_de_l_equipe{
width: 80%;
border-bottom: solid black 1px;
font-size: 0.6rem;
p{
font-family: "gilroy-semibold";
margin-bottom: 0.5rem;
font-size: 0.6rem;
}
div.more-link{
margin-bottom: 1rem;
padding-left: 0rem;
a{
font-size: 0.5rem;
}
}
}
.field_field_laureats{
color: red;
text-transform: uppercase;
}
}
.prevnext{
flex-direction: row;
margin-bottom: 0rem;
.prev-site{
padding-right: 0.5rem;
&::before{
@@ -370,11 +402,6 @@
content: url('../img/next.svg');
}
}
}
.prevnext{
flex-direction: row;
margin-bottom: 3rem;
}
}
@@ -439,7 +466,8 @@
}
}
}
.file--mime-application-pdf{
.file--mime-application-pdf,
.more-link{
width: fit-content;
padding-left: 0.5rem;
// padding-bottom: 0.2rem;

View File

@@ -48,7 +48,9 @@
@import "pages/static";
@import "pages/node-type-actualite";
@import "pages/node-type-site";
@import "pages/node-type-projet";
@import "pages/lessites.scss";
@import "pages/lesprojets.scss";
@import "pages/ressources";
@import "pages/actualites";