.path-actualites{ background-color: $background-actus; margin: 0; .block-region-content{ display: grid; grid-template-columns: 1fr 8fr 1fr; margin: auto; padding-top: 3rem; .block-views{ grid-column: 2; .view-content{ display: flex; flex-direction: row; flex-wrap: wrap; .views-row{ width: 25%; flex: 0 0 25%; } } .view-display-id-block_2{ padding-top: 0; } .node-type-actualite{ color: $blue-dark; line-height: 1.5rem; padding: 0.5rem; padding-right: 1rem; padding-left: 1rem; div:first-child{ display: flex; flex-direction: column; :nth-child(1) { order: 1; } :nth-child(4) { order: 2; } :nth-child(5) { order: 3; } a{ color: $blue-dark; } .field--name-field-images { .field__item img{ width: 100%; max-height: 175px; object-fit: cover; } &::after{ display: block; content:url('data:image/svg+xml, '); } } time{ font-size: 0.9rem; font-weight: 800; padding-right: 1rem; width: fit-content; &:after{ padding-left: 0.5rem; content: "|";} } .field:not(.field--name-field-images){ width: 80%; } h2{ margin:0; } .inline.links{ padding-top: none !important; list-style: none; width: fit-content; align-self: flex-end; padding-right: 1rem; a{ display: none; } // a{ // content: url('data:image/svg+xml,'); // } } .field--name-field-actu-type{ padding-top: 1rem; } } } } } }