.home-page-layout-content { .block-block-content3bb825b3-ab84-4861-a4f2-2a5e5eed74de{ border: solid $yellow-puca 1px; background-color: $white-button; font-weight: 800; padding: 2rem; margin-right: 1rem; width: 20%; margin-left: 12%; padding-top: 0.5rem; padding-left: 0.5rem; padding-bottom: 5rem; @media(max-width: 891px){ margin-bottom: 1rem; margin-top: 2rem; width: 50%; // margin: auto; } p{margin: 0;} strong{ font-size: 1.3rem; } } .block-views-blocksites-block-1 { top: -60px; position: relative; height: 550px; .views-row{ @media(max-width: 891px){ margin-left: 1.8rem; margin-right: 1.8rem; } .node-type-site{ width: 70%; margin: auto; display: grid; grid-template-rows: repeat(12, 1fr); grid-template-columns: repeat(12, 1fr); @media(max-width: 891px){ width: 100%; display: flex; flex-direction: column; } .image-site{ order: 1; grid-row: 1/span 10; grid-column: 2/span 9; width: 100%; img { // width: 70%; // // object-fit: cover; // height: auto; height: 500px; width: auto; } } .filtered-content{ // border: solid $yellow-puca 1px; background-color: $white-button; width: 80%; order: 2; display: flex; flex-direction: column; grid-row: 7/span 5; grid-column: 7/span 9; padding: 1rem; z-index: 99; @media(max-width: 891px){ width: auto; } h1{display: none;} h2{ order: 2; margin: 0; @media(max-width: 891px){ font-size: 1.2rem; line-height: 1.3rem; } } .field--name-field-numero-site { order: 1; text-transform: uppercase; font-size: 2rem; @media(max-width: 891px){ font-size: 1.5rem; } } .field--name-field-adresse-site{ order: 3; font-size: 1.5rem; @media(max-width: 891px){ font-size: 1rem; line-height: 0.6rem; padding-bottom: 0.3rem; } .address{ margin: 0; display: inline-flex; .postal-code{ order: 2; } .locality{ order: 1; text-transform: capitalize; margin-right: 0.5rem; } .country{ display: none; } } } .field--name-field-architecte{ order: 4; } } } } } .block-block-content9e601647-144f-4e8e-b9e1-7d744f9141d7{ width: fit-content; margin: auto; z-index: 99; position: relative; } }