ressources liées css

This commit is contained in:
2026-06-02 16:37:29 +02:00
parent 8e5290267e
commit 7e8445756c
4 changed files with 134 additions and 9 deletions
@@ -208,9 +208,47 @@
@media screen {
.node-type-projet {
visibility: hidden;
// visibility: hidden;
}
}
}
}
.projet-ressources-liees{
margin-top: 2rem;
width: 80%;
// margin: auto;
.field--name-field-ressource-s-liee-s-{
display: flex;
flex-direction: column;
.field__label{
color: $blue-dark;
font-size: 1.2rem;
font-weight: 900;
text-transform: uppercase;
}
.field__items{
.field__item{
}
}
.node-type-ressource{
.wrapper-ressource{
display: flex;
flex-direction: column;
border-bottom: solid 1px;
padding-bottom: 2rem;
.field--name-field-images{
display: none;
}
}
}
}
}
}
@@ -10,6 +10,9 @@
max-width: 100%;
height: auto;
}
.node-type-projet{
visibility: visible !important;
}
@page {
// margin-top: 1cm;
// margin-bottom: 1cm;
@@ -324,7 +327,43 @@
width: 80%;
margin: auto;
padding-top: 3rem ;
}
}
.projet-ressources-liees{
padding-top: 3rem;
width: 80%;
margin: auto;
.field--name-field-ressource-s-liee-s-{
display: flex;
flex-direction: column;
.field__label{
color: $blue-dark;
font-size: 1.2rem;
font-weight: 900;
text-transform: uppercase;
}
.field__items{
.field__item{
}
}
.node-type-ressource{
.wrapper-ressource{
display: flex;
flex-direction: column;
border-bottom: solid 1px;
padding-bottom: 2rem;
.field--name-field-images{
display: none;
}
}
}
}
}
.paragraph{
break-inside: avoid;
page-break-inside: avoid;
@@ -340,7 +379,7 @@
.path-projets-complets .views-row:first-child {
page-break-before: auto;
break-before: auto;
// break-before: auto;
}
.path-projets-complets .projet-header-print {