padding h3

This commit is contained in:
2025-06-05 09:19:51 +02:00
parent d0f3453dff
commit 539c0f5075
5 changed files with 28 additions and 23 deletions
File diff suppressed because one or more lines are too long
+5 -4
View File
@@ -5462,7 +5462,7 @@ svg.ext {
.path-ressources .layout-content .region-content #block-contenudelapageprincipale .layout--onecol .layout__region--content .block-region-content .block-views-blockbase-de-donnees-block-1 .view-base-de-donnees .view-filters .buttons-filtres-ressources button {
background-color: transparent;
border: 1px solid black;
padding: 0.3rem 0.3rem 0.1rem 0.3rem;
padding: 0.3rem 0.5rem 0.1rem 0.3rem;
margin-bottom: 0.5rem;
margin-right: 0.5rem;
font-size: 0.6rem;
@@ -5577,6 +5577,7 @@ svg.ext {
border-left: none;
border-right: none;
font-size: 0.6rem;
justify-content: flex-start !important;
}
.path-ressources .layout-content .region-content #block-contenudelapageprincipale .layout--onecol .layout__region--content .block-region-content .block-views-blockbase-de-donnees-block-1 .view-base-de-donnees .view-filters form .form-item-combine label {
display: none;
@@ -5642,6 +5643,7 @@ svg.ext {
}
.path-ressources .layout-content .region-content #block-contenudelapageprincipale .layout--onecol .layout__region--content .block-region-content .block-views-blockbase-de-donnees-block-1 .view-base-de-donnees .view-content .view-type-slide.type-les-projets-en-images {
order: 3;
width: 80%;
border-top: solid 1px rgba(0, 0, 0, 0.3);
}
.path-ressources .layout-content .region-content #block-contenudelapageprincipale .layout--onecol .layout__region--content .block-region-content .block-views-blockbase-de-donnees-block-1 .view-base-de-donnees .view-content .view-type-slide.type-presse {
@@ -5684,8 +5686,7 @@ svg.ext {
z-index: 1;
}
.path-ressources .layout-content .region-content #block-contenudelapageprincipale .layout--onecol .layout__region--content .block-region-content .block-views-blockbase-de-donnees-block-1 .view-base-de-donnees .view-content .view-type-slide:not(footer) h3 {
top: 2rem;
padding-top: 1rem;
top: 1rem;
text-transform: uppercase;
font-family: "Source Code Pro";
color: rgb(9, 57, 139) !important;
@@ -6835,7 +6836,7 @@ article.node-type-ressource .wrapper-ressource .field--name-field-auteur-s- {
margin-top: 0.5rem;
font-weight: 800;
line-height: 1.1rem;
order: 6;
order: 6 o !important;
}
article.node-type-ressource .wrapper-ressource .field--name-field-auteur-s- p {
margin: 0;
+13 -13
View File
@@ -272,18 +272,18 @@ document.addEventListener('DOMContentLoaded', () => {
});
////////////////// start tronquage sous titre //////////////////
document.addEventListener("DOMContentLoaded", function () {
const maxLength = 20; // <-- modifiez cette valeur si besoin
const field = document.querySelector(".field--name-field-sous-titre a");
// ////////////////// start tronquage sous titre //////////////////
// document.addEventListener("DOMContentLoaded", function () {
// const maxLength = 20; // <-- modifiez cette valeur si besoin
// const field = document.querySelector(".field--name-field-sous-titre a");
if (field) {
const fullText = field.textContent.trim();
if (fullText.length > maxLength) {
const truncated = fullText.slice(0, maxLength).trim() + "...";
field.textContent = truncated;
field.setAttribute("title", fullText); // Affiche le texte complet au survol
}
}
});
// if (field) {
// const fullText = field.textContent.trim();
// if (fullText.length > maxLength) {
// const truncated = fullText.slice(0, maxLength).trim() + "...";
// field.textContent = truncated;
// field.setAttribute("title", fullText); // Affiche le texte complet au survol
// }
// }
// });
@@ -183,7 +183,7 @@
background-color: transparent;
// border-radius: 30px;
border: 1px solid black;
padding: 0.3rem 0.3rem 0.1rem 0.3rem;
padding: 0.3rem 0.5rem 0.1rem 0.3rem;
margin-bottom: 0.5rem;
margin-right: 0.5rem;
font-size: 0.6rem;
@@ -353,6 +353,7 @@
border-left: none;
border-right: none;
font-size: 0.6rem;
justify-content: flex-start !important;
label{display: none;}
.input-wrapper{
display: inline-flex;
@@ -415,7 +416,9 @@
}
}
.view-type-slide.type-paroles-de-laureats{order: 2;}
.view-type-slide.type-les-projets-en-images{order: 3;
.view-type-slide.type-les-projets-en-images{
order: 3;
width: 80%;
border-top: solid 1px rgba(0, 0, 0, 0.3);
}
.view-type-slide.type-presse{
@@ -452,8 +455,8 @@
}
h3{
// margin-top: 3rem;
top: 2rem;
padding-top: 1rem;
top: 1rem;
// padding-top: 1rem;
text-transform: uppercase;
font-family: 'Source Code Pro';
color: rgb(9, 57, 139) !important;
@@ -14,6 +14,7 @@ article.node-type-ressource{
a{
color: black;
}
&.type-publications-issues-du-programme-eqld{
// background-color: $background-actus;
min-width: 300px;
@@ -160,7 +161,7 @@ article.node-type-ressource{
margin-top: 0.5rem;
font-weight: 800;
line-height: 1.1rem;
order: 6;
order: 6 o !important;
p{
margin: 0;