60 lines
1.5 KiB
SCSS
60 lines
1.5 KiB
SCSS
.block-views-blockactus-block-1{
|
|
background-color: white;
|
|
h2{
|
|
width: 80%;
|
|
margin: auto;
|
|
padding-top: 2rem;
|
|
padding-bottom: 2rem;
|
|
}
|
|
.view-id-actus{
|
|
width: 80%;
|
|
margin: auto;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
|
|
.views-row{
|
|
width: 45%;
|
|
.node-type-actualite{
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
p.field__item{
|
|
display: none;
|
|
}
|
|
h2{
|
|
order: 3;
|
|
margin: 0;
|
|
}
|
|
.field--name-field-image{
|
|
order: 1;
|
|
max-width: 100%;
|
|
img{
|
|
max-width: 100%;
|
|
object-fit: contain;
|
|
}
|
|
}
|
|
.field--name-field-numero-site {
|
|
order: 3;
|
|
}
|
|
.field--name-field-adresse-site{
|
|
order: 4;
|
|
}
|
|
.field--name-field-architecte{
|
|
order: 4;
|
|
}
|
|
.field--name-field-type-d-actualite{
|
|
order: 2;
|
|
}
|
|
.field--name-field-site{
|
|
order: 3;
|
|
}
|
|
|
|
}
|
|
.node-type-actualite > div:nth-child(2) > div:nth-child(2){
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|