ressource

This commit is contained in:
2024-06-20 09:58:32 +02:00
parent 7d626a4207
commit f8d09d1531
3 changed files with 120 additions and 45 deletions
@@ -1,33 +1,40 @@
.page-node-site{
.node-type-ressource{
width: 80%;
width: 70%;
margin: auto;
display: flex;
display: grid;
grid-template-columns: repeat(4, auto);
grid-template-rows: repeat(2, auto);
padding-top: 3rem;
.image-site{
width: 40%;
height: fit-content;
.image-ressource{
grid-row: 1;
grid-column: 1 /span 2;
margin-right: 2rem;
img{
width: 100%;
height: auto;
height: 400px;
width: auto;
}
}
.filtered-content{
width: 40%;
.field--name-field-type-de-ressource,
.field--name-field-sous-titre,
.field--name-field-auteur,
.field--name-field-site{
.infos-content{
grid-row: 1;
grid-column: 3 /span 4;
.field--name-field-type-de-ressource{
text-transform: uppercase;
font-size: 1.5rem;
}
.field--name-body{
.field--name-field-sous-titre{
font-size: 2rem;
}
.field--name-field-auteur{
font-weight: 800;
font-size: 1.4rem;
}
}
.body-content {
grid-row: 2;
grid-column: 1 /span 3;
width: 100%;
margin-top: 2rem;
}