ressources & actualités

This commit is contained in:
2024-06-27 14:30:05 +02:00
parent 5f5a0f7000
commit 1cf91ac32e
4 changed files with 586 additions and 26 deletions
@@ -1,9 +1,14 @@
.page-ressources{
h1{
width: 80%;
margin: auto;
}
.view-ressources{
flex-direction: column;
flex-direction: row;
padding: 5rem;
width: 80%;
margin: auto;
#views-exposed-form-ressources-page-1{
width: 100%;
margin: auto;
@@ -25,19 +30,22 @@
}
}
.views-row{
.node-type-ressource{
display: flex;
flex-direction: column;
width: 80%;
margin: auto;
.field--name-field-image{
.image-ressource{
order: 1;
max-width: 100%;
width: 90%;
margin: auto;
img{
height: 200px;
width: auto;
width: 100%;
height: auto;
}
}
.filtered-content{
.infos-content{
display: flex;
flex-direction: column;
border: solid $yellow-puca 1px;
@@ -66,7 +74,24 @@
font-size: 1.2rem;
}
.field--name-field-site{
order: 5;
background-color: $gris-violet;
color: white;
border-radius: 50px;
width: fit-content;
padding: 0.2rem 0.9rem;
margin-top: 1rem;
.field__item{
display: inline;
}
a{
color: white;
font-weight: 900;
font-size: 0.8rem;
vertical-align: top;
}
}
ul.links{
order: 6;