.page-node-type-theme, .page-node-type-projet{ //tmp hidden .block-region-first{ visibility: hidden; } .block-region-third{ margin-top: 30rem; } #node\:title:before{ clear: both; display: block; width: 100%; font-size: $font-small; text-transform: uppercase; margin-bottom: .8rem; } /// .field_programme{ display: inline-block; background: gray; margin-bottom: 1rem; color: white; font-weight: 600; padding: .3rem .5rem; a{ text-decoration: none; } } &.programme-1{ .field_programme{ background: $col-1; } } &.programme-2{ .field_programme{ background: $col-2; } } &.programme-3{ .field_programme{ background: $col-eur; } } &.programme-4{ .field_programme{ background: $col-met; } } &.programme-5{ .field_programme{ background: $col-mond; } } &.programme-6{ .field_programme{ background: $col-ter; } } &.programme-7{ .field_programme{ background: $col-met; } } /// #node\:title{ margin: 0; font-size: $font-large; line-height: 1.3; font-weight: 600; margin-bottom: 1rem; } #node\:field_image,.field_diaporama{ width: 150%; margin-bottom: 1rem; img{ width: 100%; } } .block-region-bottom{ #node\:field_projets_lies{ h2{ text-align: center; } .field_projets_lies{ display: grid; grid-template-columns: repeat(5, 1fr); column-gap: 1rem; padding: 0 10%; } article{ .body{ display: none; } } } } //équipe tmp #node\:field_equipes{ .field_equipes{ .paragraph{ display: grid; .field_membres{ grid-row: 2; >div:first-child{ display: none; } .paragraph{ display: block !important; .field_nom{ display: inline-block; width: auto; >div:first-child{ display: none; } div:nth-of-type(2){ display: inline-block; width: auto; } } .field_prenom{ display: inline-block; >div:first-child{ display: none; } div:nth-of-type(2){ display: inline-block; width: auto; } } .field_fonction{ >div:first-child{ display: none; } } margin-bottom: 1rem; } margin-bottom: 1rem; } .field_type_equipe{ grid-row: 1; font-weight: 600; font-size: $font-medium; margin-bottom: .5rem; div:first-child{ display: none; } } } } } } .page-node-type-projet{ #node\:title:before{ content: "ville"; } } .page-node-type-theme{ #node\:title:before{ content: "théme"; } }