size typo ville-region teaser projet + a englobe tout wrapper-ressource dans /ressources

This commit is contained in:
2026-05-29 13:03:19 +02:00
parent 5f168b2621
commit 3f9d4c85ac
4 changed files with 17 additions and 3 deletions
+8 -1
View File
@@ -4891,7 +4891,7 @@ svg.ext {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
flex-direction: row; flex-direction: row;
font-size: 0.7rem; font-size: 0.9rem;
} }
.path-projets .region-content #block-contenudelapageprincipale .layout--onecol .block-region-content .block-views-blockprojets-block-1 .view-projets .node-type-projet div:first-child .ville-region .field--name-field-adresse { .path-projets .region-content #block-contenudelapageprincipale .layout--onecol .block-region-content .block-views-blockprojets-block-1 .view-projets .node-type-projet div:first-child .ville-region .field--name-field-adresse {
display: flex; display: flex;
@@ -7819,6 +7819,13 @@ article.node-type-ressource a {
article.node-type-ressource .wrapper-ressource { article.node-type-ressource .wrapper-ressource {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
position: relative;
}
article.node-type-ressource .wrapper-ressource .card-link {
position: absolute;
inset: 0;
z-index: 10;
display: block;
} }
article.node-type-ressource .wrapper-ressource .field--name-field-type-de-ressource { article.node-type-ressource .wrapper-ressource .field--name-field-type-de-ressource {
order: 2; order: 2;
@@ -274,7 +274,7 @@
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
flex-direction: row; flex-direction: row;
font-size: 0.7rem; font-size: 0.9rem;
.field--name-field-adresse{ .field--name-field-adresse{
display: flex; display: flex;
@@ -19,6 +19,13 @@ article.node-type-ressource{
.wrapper-ressource{ .wrapper-ressource{
display: flex; display: flex;
flex-direction: column; flex-direction: column;
position: relative;
.card-link {
position: absolute;
inset: 0;
z-index: 10;
display: block;
}
.field--name-field-type-de-ressource{ .field--name-field-type-de-ressource{
order: 2; order: 2;
} }
@@ -94,7 +94,7 @@
{% endif %} {% endif %}
<div class='wrapper-ressource'{{ content_attributes }}> <div class='wrapper-ressource'{{ content_attributes }}>
<a class="card-link" href="{{ url }}" aria-label="{{ label }}"></a>
{{ content }} {{ content }}
<div class="filtres_projet"> <div class="filtres_projet">
{{content.bottom}} {{content.bottom}}