projets liées ressources

This commit is contained in:
2024-10-18 11:14:42 +02:00
parent 70bbbc494e
commit da8fe6f5c2
3 changed files with 89 additions and 35 deletions
+28 -22
View File
@@ -2184,8 +2184,7 @@ a {
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-edition,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-auteur-s-,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-date-de-parution,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-mots-clefs,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-projets-liee {
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-mots-clefs {
width: 100%;
margin-left: 13%;
}
@@ -2197,8 +2196,7 @@ a {
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-edition,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-auteur-s-,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-date-de-parution,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-mots-clefs,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-projets-liee {
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-mots-clefs {
width: auto;
margin-right: 15%;
}
@@ -2211,8 +2209,7 @@ a {
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-edition,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-auteur-s-,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-date-de-parution,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-mots-clefs,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-projets-liee {
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-mots-clefs {
width: auto;
margin-left: 2rem;
margin-right: 15%;
@@ -2228,8 +2225,7 @@ a {
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-edition p,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-auteur-s- p,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-date-de-parution p,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-mots-clefs p,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-projets-liee p {
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-mots-clefs p {
margin: 0;
}
}
@@ -2241,8 +2237,7 @@ a {
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-edition,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-auteur-s-,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-date-de-parution,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-mots-clefs,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-projets-liee {
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-mots-clefs {
margin-left: 9%;
margin-right: 9%;
}
@@ -2316,18 +2311,6 @@ a {
margin-bottom: 0.5rem;
}
}
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-projets-liee h2 {
display: none;
}
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-projets-liee .field__label {
display: none;
}
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-projets-liee a {
color: black;
}
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-projets-liee a:hover {
color: rgb(0, 158, 227);
}
.page-node-type-ressource .layout__region--top .block-block-content4e5df355-e76c-4e44-bec0-e211d94f2640:empty,
.page-node-type-ressource .layout__region--top .block-entity-fieldnodefield-type-de-ressource:empty,
.page-node-type-ressource .layout__region--top .block-entity-fieldnodetitle:empty,
@@ -2596,6 +2579,29 @@ a {
.page-node-type-ressource .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .field--name-field-ress .node-type-ressource div ul.links.inline {
display: none;
}
.page-node-type-ressource .layout__region--third .block-region-third .block-entity-fieldnodefield-projets-liee h2 {
font-size: 0.8rem;
color: rgb(0, 0, 0);
font-weight: 900;
}
.page-node-type-ressource .layout__region--third .block-region-third .block-entity-fieldnodefield-projets-liee .field--name-field-projets-liee {
display: flex;
flex-direction: column;
border: 2px solid rgb(0, 158, 227);
padding: 1rem;
height: fit-content;
margin-bottom: 1rem;
background-color: rgb(255, 255, 255);
}
.page-node-type-ressource .layout__region--third .block-region-third .block-entity-fieldnodefield-projets-liee .field--name-field-projets-liee .field__label {
display: none;
}
.page-node-type-ressource .layout__region--third .block-region-third .block-entity-fieldnodefield-projets-liee .field--name-field-projets-liee .field__item a {
color: rgb(0, 0, 0);
font-size: 1rem;
font-weight: 900;
font-style: italic;
}
.offresdeservices .layout-content .region-content #block-contenudelapageprincipale span {
padding-top: 3rem;
@@ -43,8 +43,7 @@
.block-entity-fieldnodefield-edition,
.block-entity-fieldnodefield-auteur-s-,
.block-entity-fieldnodefield-date-de-parution,
.block-entity-fieldnodefield-mots-clefs,
.block-entity-fieldnodefield-projets-liee {
.block-entity-fieldnodefield-mots-clefs {
width: 100%;
margin-left: 13%;
@media (max-width: 1099px) {
@@ -157,16 +156,7 @@
}
}
.block-entity-fieldnodefield-projets-liee{
h2{display: none;}
.field__label{display: none;}
a{
color: black;
&:hover{
color: $blue-light;
}
}
}
}
/* Hide empty blocks */
.block-block-content4e5df355-e76c-4e44-bec0-e211d94f2640:empty,
@@ -452,7 +442,41 @@
}
}
}
}
}
.block-entity-fieldnodefield-projets-liee{
// margin-top: 3rem;
// @media(max-width:479px){
// margin-top: 2rem;
// }
h2{
font-size: 0.8rem;
color: $black;
font-weight: 900;
}
.field--name-field-projets-liee{
display: flex;
flex-direction: column;
border: 2px solid $blue-light;
padding: 1rem;
height: fit-content;
margin-bottom: 1rem;
background-color: $white;
.field__label{ display: none;}
.field__item{
a{
color: $black;
font-size: 1rem;
font-weight: 900;
font-style: italic;
}
}
}
}
}
}
// }
@@ -119,6 +119,30 @@
}
}
.block-entity-fieldnodefield-projets-liee{
margin-top: 3rem;
@media(max-width:479px){
margin-top: 2rem;
}
h2{
font-size: 0.8rem;
color: $black;
font-weight: 900;
}
.field--name-field-projets-liee{
display: flex;
flex-direction: column;
border: 2px solid $blue-light;
padding: 1rem;
height: fit-content;
margin-bottom: 1rem;
background-color: $white;
}
}
/////// pages projets