margin, lineheight, padding teaser ressources
This commit is contained in:
@@ -471,12 +471,26 @@
|
||||
min-width: 350px !important;
|
||||
max-width: 500px ;
|
||||
}
|
||||
.field--name-title{
|
||||
h2{
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
}
|
||||
.field--name-field-sous-titre{
|
||||
color: $blue-light;
|
||||
line-height: 1.3 !important;
|
||||
}
|
||||
}
|
||||
.view-type-slide.type-paroles-de-laureats{order: 2;}
|
||||
.view-type-slide.type-les-projets-en-images{
|
||||
order: 3;
|
||||
// width: 80%;
|
||||
// border-top: solid 1px rgba(0, 0, 0, 0.3);
|
||||
.field--name-title{
|
||||
h2{
|
||||
line-height: 1.4rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
.view-type-slide.type-les-projets-en-images{
|
||||
.slick-list{
|
||||
|
||||
@@ -54,7 +54,7 @@ article.node-type-ressource{
|
||||
margin-bottom: 0;
|
||||
h2{
|
||||
margin: 0;
|
||||
line-height: 1rem;
|
||||
line-height: 1.2rem;
|
||||
margin-left: 0 !important;
|
||||
line-height: 0;
|
||||
margin-bottom: 0 !important;
|
||||
@@ -70,8 +70,8 @@ article.node-type-ressource{
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
||||
line-height: 1.2em;
|
||||
max-height: calc(1.2em * 4);
|
||||
line-height: 1.4em;
|
||||
|
||||
}
|
||||
@media (max-width: 810px) {
|
||||
line-height: 0 !important;
|
||||
@@ -99,13 +99,13 @@ article.node-type-ressource{
|
||||
order: 5;
|
||||
font-size: 0.9rem;
|
||||
font-weight: 900;
|
||||
line-height: 1.5 !important;
|
||||
line-height: 1.3 !important;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 3;
|
||||
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
||||
}
|
||||
.field--name-field-edition{
|
||||
order: 7;
|
||||
@@ -204,7 +204,7 @@ article.node-type-ressource{
|
||||
.field--name-title{
|
||||
grid-row: 3;
|
||||
margin-top: 0;
|
||||
padding-bottom: 0.8rem;
|
||||
padding-bottom: 0.4rem;
|
||||
h2{
|
||||
margin-left: 0 !important;
|
||||
line-height: 0;
|
||||
@@ -212,6 +212,7 @@ article.node-type-ressource{
|
||||
color: $blue-light;
|
||||
font-size: 1.3rem;
|
||||
font-style: normal;
|
||||
line-height: 1.2em !important;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -300,9 +301,9 @@ article.node-type-ressource{
|
||||
article.node-type-ressource.type-les-projets-en-images {
|
||||
.wrapper-ressource {
|
||||
display: grid;
|
||||
grid-template-columns: 2fr 1fr !important; // ✅ 85% pour image, 15% pour texte
|
||||
width: 100%; // ✅ force la grille à s'étaler sur toute la ligne
|
||||
max-width: 100%; // ✅ limite d'expansion
|
||||
grid-template-columns: 2fr 1fr !important;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
// gap: 1rem;
|
||||
column-gap: 1rem;
|
||||
align-items: start;
|
||||
@@ -350,7 +351,7 @@ article.node-type-ressource{
|
||||
.field--name-field-date-de-parution,
|
||||
.field--name-field-mots-clefs {
|
||||
grid-column: 2;
|
||||
width: 100%; // ✅ évite que ça casse la colonne
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
|
||||
Reference in New Issue
Block a user