68 lines
1.8 KiB
SCSS
68 lines
1.8 KiB
SCSS
.block-views-blockactus-block-1{
|
|
// display:none;
|
|
background-color: white;
|
|
padding-bottom: 3rem;
|
|
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;
|
|
}
|
|
.field--name-field-image{
|
|
order: 1;
|
|
max-width: 100%;
|
|
padding-bottom: 1rem;
|
|
img{
|
|
width: 80%;
|
|
height: auto;
|
|
}
|
|
}
|
|
.infos-content{
|
|
display: flex;
|
|
flex-direction: column;
|
|
h2{
|
|
order: 2;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.field--name-field-sous-titre {
|
|
order: 3;
|
|
}
|
|
.field--name-field-type-d-actualite{
|
|
order: 1;
|
|
text-transform: uppercase;
|
|
}
|
|
.field--name-field-site{
|
|
order: 5;
|
|
}
|
|
.field--name-field-date{
|
|
order: 4;
|
|
}
|
|
}
|
|
.body-content{
|
|
display: none;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
}
|