.block-views-blockfaq-block-1{ display: grid; grid-template-columns: 1fr repeat(4, 2fr) 1fr; div:first-child{ grid-column: 2 / span 3; // width: 70%; // margin: auto; .node-type-question_reponse{ border-bottom: 1px solid $blue-light; padding-bottom: 2rem; .field--name-title{ display: none; } .field--name-field-question{ p{ font-family: 'Source Code Pro' ; font-weight: 500 ; color: $blue-dark ; font-size: 1.5rem; &:after{ display:inline-flex; content: url('data:image/svg+xml,'); justify-self: flex-end; } } } .field--name-field-reponse{ display: none; } .opened{ display: block; } .field--name-field-fichiers{ span:nth-of-type(2){ display: none; } .file--mime-application-pdf{ span:nth-of-type(2){ display: none; } ::before{ display: inline-block; content: url("../images/pictos/noun_Download_file_307900.svg"); width: 30px; height: 30px; padding-right: 0.8rem; } a{ display: inline-flex; align-items: center; color: $black; font-weight: 800; } } } .field--name-field-liens{ a{ &:before{ display: inline-block; content: url("../images/pictos/noun_External Link_674151.svg"); width: 30px; height: 30px; padding-right: 0.8rem; } display:flex; flex-direction: row; justify-content: left; align-items: center; color: $black; font-weight: 800; } svg{ display: none; } } .field--name-field-ress{ margin-top: 0.5rem; a{ color: $black; text-decoration: underline; font-weight: 800; } } } } }