.page-node-type-programme{ #projets-block_2{ position: relative; .main_logo{ z-index: 10; height: 7.2rem; width: 100%; position: absolute; // background: red; // margin: -5rem 0 3rem 0; top:0; left: 0; } } &.programme-1{ article{ h2,h3,h4,h5,h6{ color: $col-1; } } .main_logo{ background: center / contain no-repeat url(../images/POPSU_1.svg); } } &.programme-2{ article{ h2,h3,h4,h5,h6{ color: $col-2; } } .main_logo{ background: center / contain no-repeat url(../images/POPSU_2.svg); } } &.programme-3{ article{ h2,h3,h4,h5,h6{ color: $col-eur; } } .main_logo{ background: center / contain no-repeat url(../images/POPSU_Europe.svg); } } &.programme-4{ article{ h2,h3,h4,h5,h6{ color: $col-met; } } .main_logo{ background: center / contain no-repeat url(../images/POPSU_logo.svg); } } &.programme-5{ article{ h2,h3,h4,h5,h6{ color: $col-mond; } } .main_logo{ background: center / contain no-repeat url(../images/POPSU_monde.svg); } } &.programme-6{ article{ h2,h3,h4,h5,h6{ color: $col-ter; } } .main_logo{ background: center / contain no-repeat url(../images/POPSU_territoires.svg); } } &.programme-7{ article{ h2,h3,h4,h5,h6{ color: $col-met; } } .main_logo{ background: center / contain no-repeat url(../images/POPSU_metropoles.svg); } } .layout-content{ position: relative; } .layout__region--top{ max-height: 30%; grid-column: 1 / span 3; } .block-region-first{ position: absolute; top: 0; left: 0; z-index: 10; width: 25%; padding: 1rem 1.5rem ; .prog-ressources-link{ font-family: "duke"; font-size: $font-large; cursor: pointer; transition: all 250ms; text-decoration: none; &:hover{ padding: 0 0 0 .3rem; } } .views-element-container{ header{ font-family: "duke"; font-size: $font-large; cursor: pointer; transition: all 250ms; &:hover{ padding: 0 0 0 .3rem; } } .views-row{ display: none; padding: 0 0 0 1.2rem; margin-bottom: .5rem; a{ text-decoration: none; &:hover{ text-decoration: underline; } } } } } .block-region-third{ margin-top: -7rem; z-index: 20; position: relative; #evenements-block_1{ background-color: black; margin-bottom: 3rem; h2{ color: white; } } .programme-1{ background: $col-1; } .programme-2{ background: $col-2; } .programme-3{ background: $col-eur; } .programme-4{ background: $col-met; } .programme-5{ background: $col-mond; } .programme-6{ background: $col-ter; } .programme-7{ background: $col-met; } .views-row{ padding: 1rem 0; &:last-of-type{ margin-bottom: 1rem; } } .views-field{ color: white; padding: 0 1rem; font-weight: 500; // &:last-of-type{ // margin-bottom: 1rem; // } .views-field-field-type-de-ressource{ text-transform: uppercase; margin-bottom: .2rem; } .views-field-title{ font-style: italic; } .views-field-field-sous-titre{ font-weight: 400; } a{ text-decoration: none; &:hover{ text-decoration: underline; } } } } article{ font-size: $font-small; h2:first-child{ display: none; } } .block-region-bottom{ background: $trame; h2{ text-align: center; } .item-list{ .slick-slide{ margin: 0 1rem; } .slick-arrow{ position: absolute; height: 100%; cursor: pointer; z-index: 100; // background-color: white; opacity: 0.2; transition: opacity 250ms; width: 10%; &:hover{ opacity: .5; } } .slick-next{ right: 0; top: 0; } .views-field:not(.views-field-field-image){ width: 80%; } li{ display: grid !important; grid-template-columns: 1fr 1fr; align-items: center; background: white; position: relative; height: auto; padding: 1rem; background-clip: content-box; } .views-field-field-image{ grid-row: 1 / span 4; // margin-top: -3.5rem; z-index: 0; padding: .5rem; } .views-field:not(.views-field-field-image){ background: transparent; width: auto; margin-left: 0; padding-left: 0; } .views-field-field-sous-titre{ grid-column: 2 / span 1; } .views-field-field-type-de-ressource{ grid-column: 2 / span 1; } .views-field-title{ font-weight: 600; grid-row: 3 / span 1; grid-column: 2 / span 1; } .views-field-view-node{ // padding-top: 1rem; // grid-column: 1; // grid-row: 1; grid-row: 2 / span 1; grid-column: 2 / span 1; } .views-field-field-programme{ .field-content{ display: inline-block; width: auto; background-color: black !important; padding: .3rem .5rem; } padding-left: .5rem !important; grid-row: 1 / span 1; grid-column: 1 / span 2; text-transform: uppercase; margin-top: -.5rem; .field-content{ font-weight: 600; display: inline-block; width: auto; color: white; padding: .02rem .3rem; // margin-bottom: 1rem; } } } footer{ background-color: transparent; text-align: center; padding: 1rem; a{ display: inline-block; margin: 0 auto; background: black; color: white; font-family: "trueno"; font-weight: 500; padding: .5rem 1.5rem; font-size: $font-normal; text-decoration: none; } } } }