css podcast

This commit is contained in:
2025-03-04 16:13:35 +01:00
parent 8d8c87844b
commit c5f23ffca8
2 changed files with 92 additions and 3 deletions

View File

@@ -88,7 +88,7 @@
.field_field_mots_clefs{
div{
display: flex;
flex-direction: row;
flex-direction: row !important;
div{
border: solid 1px $blue_QDD;
margin-right: 0.2rem;
@@ -129,7 +129,57 @@
}
}
}
}
.type-documentation{
.field_body,
.field_field_images{
display: none;
}
}
.type-podcast{
div{
display: flex;
align-items: flex-start;
flex-wrap: wrap;
.field_field_images{
width: 150px;
height: auto;
flex-shrink: 0;
img{
width: 100%;
height: auto;
border-radius: 9px;
}
}
.field_title,
.field_field_sous_titre,
.field_field_author,
.field_field_date_ressource,
.field_body,
.field_field_mots_clefs,
.field_field_site,
.field_field_documents,
.field_field_liens{
flex: 1 1 50%;
}
}
}
}
.views-row:has(.type-podcast){
width: 50%;
}
.views-row:has(.type-documentation){
width: 25%;
}
.views-row:has(.type-vidéo){
width: 50%;
}
}