ajout lien projet à ressource

This commit is contained in:
2024-10-15 12:26:36 +02:00
parent 447a6be5fb
commit 69c918f64d
2 changed files with 48 additions and 122 deletions
+27 -9
View File
@@ -2162,6 +2162,7 @@ a {
grid-column: 1;
grid-row: 1/span 7; /* Prendre toutes les lignes disponibles */
align-self: start; /* S'assurer qu'il commence en haut */
justify-self: end;
}
}
@media (max-width: 1100px) {
@@ -2182,7 +2183,8 @@ 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-mots-clefs,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-projets-liee {
width: 100%;
margin-left: 13%;
}
@@ -2194,7 +2196,8 @@ 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-mots-clefs,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-projets-liee {
width: auto;
margin-right: 15%;
}
@@ -2207,13 +2210,15 @@ 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-mots-clefs,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-projets-liee {
width: auto;
margin-left: 7rem;
margin-right: 1;
grid-column: 3/4;
margin-left: 2rem;
margin-right: 15%;
grid-column: 2/4;
align-self: start; /* S'assurer qu'il commence en haut */
height: fit-content;
justify-self: start;
}
.page-node-type-ressource .layout__region--top .block-region-top .block-block-content4e5df355-e76c-4e44-bec0-e211d94f2640 p,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-type-de-ressource p,
@@ -2222,7 +2227,8 @@ 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-mots-clefs p,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-projets-liee p {
margin: 0;
}
}
@@ -2234,7 +2240,8 @@ 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-mots-clefs,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-projets-liee {
margin-left: 9%;
margin-right: 9%;
}
@@ -2253,7 +2260,6 @@ a {
vertical-align: middle;
}
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-type-de-ressource {
margin-top: 2rem;
color: rgb(0, 158, 227);
text-transform: uppercase;
font-weight: 800;
@@ -2304,6 +2310,18 @@ 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,