responsive slide ressources

This commit is contained in:
2025-06-08 22:08:11 +02:00
parent c30d886bb7
commit 8c365d816a
5 changed files with 122 additions and 63 deletions
@@ -1,7 +1,9 @@
article.node-type-ressource{
margin-bottom: 1rem ;
padding-right: 1rem;
h2{text-align: left !important}
h2{
text-align: left !important;
}
.ext{
color: black;
}
@@ -55,7 +57,9 @@ article.node-type-ressource{
font-weight: 900;
font-style: normal;
}
@media (max-width: 810px) {
line-height: 0 !important;
}
}
}
.field--name-field-auteur-s-{
@@ -253,45 +257,9 @@ article.node-type-ressource{
}
}
// &.type-les-projets-en-images{
// width: 500px !important;
// .wrapper-ressource{
// display: grid;
// grid-template-columns: 3fr 1fr;
// // grid-template-rows: repeat(5, 1fr);
// .field--name-field-type-de-ressource{
// order: 2;
// grid-row: 2;
// grid-column: 1 /span 2;
// margin-bottom: 0.5rem;
// }
// .field--name-field-type-de-media{
// order: 1;
// grid-row: 1;
// grid-column: 1 /span 2;
// }
// .field--name-field-images{
// order: 3;
// grid-column: 1 ;
// grid-row: 3 /span 5;
// height: auto;
// // width: 90%;
// width: 400px !important;
// img{
// height: auto;
// width: 90%;
// border: 1px solid #a3a3a3;
// }
// }
// .field--name-title,
// .field--name-field-sous-titre,
// .field--name-field-auteur-s-,
// .field--name-field-edition,
// .field--name-field-date-de-parution,
// .field--name-field-mots-clefs{
// grid-column: 2;
// }
article.node-type-ressource.type-les-projets-en-images .views-row-wrapper {
display: flex;
background: lawngreen;
}
// }
// }
}