Files
drupal-reha/web/themes/custom/reha/scss/pages/_home.scss
T

290 lines
11 KiB
SCSS

.home-page-layout-content{
width: 100%;
////// à enlever pour mise en lign e de stage /////
html.js body div.dialog-off-canvas-main-canvas div.layout-container.page-programme main div.layout-content.home-page-layout-content div.region.region-content div#block-reha-contenudelapageprincipale.block.block-system.block-system-main-block div.layout.layout--twocol div.layout__region.layout__region--second div.block-region-second div#block-68d3a66ddd9e0.views-element-container.block.block-views.block-views-blockhome-block-1 div div.view.view-home.view-id-home.view-display-id-block_1.js-view-dom-id-9b892eac21901d3d6c0fe35b0d4b62f445e840215a121bd4e47434241241aac9 div.views-row div.views-field.views-field-body div.field-content p img.align-center{
height: auto !important;
}
#block-68d3a6672c807,
#block-68d3a6672d33a,
#block-68d3a6672d464{
display: none !important;
}
////// à enlever pour mise en lign e de stage /////
.layout-content{
.layout--onecol{
width: 90%;
margin: auto;
font-size: 1.3rem;
font-weight: 400;
font-style: normal;
h4{
font-size: 5rem;
font-weight: normal;
margin: 0;
}
h5{
font-size: 5rem;
font-weight: 900;
margin: 0;
line-height: 0.6;
@media(max-width: 891px){
font-size: 4rem;
line-height: 0.9;
}
@media(max-width: 520px){
font-size: 3rem;
}
}
img{
height: auto;
padding-top: 2rem ;
padding-bottom: 2rem ;
}
.block-region-content{
display: grid;
grid-column: repeat(2, 1fr);
@media(max-width: 891px){
display: flex;
flex-direction: column;
}
.block-views-blockhome-block-1{
// grid-column: 1 /span 2;
// grid-row: 1;
margin-bottom: 2rem;
@media(max-width: 500px){
img{
width: -moz-available;
}
}
}
// block Appel à candidature /// désactivé
.block-block-content5ae07b35-3c0b-48f5-b51b-f0f0e4c1765f{
/////////////// arrêt canndidatures phase 1
display: none !important;
///////////////
grid-column: 1;
grid-row: 2 /span 2;
width: 80%;
border: solid $yellow-puca 1px;
background-color: $white-button;
font-weight: 800;
padding: 2rem;
margin-right: 1rem;
@media(max-width: 891px){
font-size: 4rem;
}
@media(max-width: 520px){
font-size: 3rem;
}
}
h5{
font-size: 5rem;
font-weight: 900;
margin: 0;
line-height: 0.6;
@media(max-width: 891px){
font-size: 4rem;
line-height: 0.9;
}
@media(max-width: 520px){
font-size: 3rem;
}
}
img{
height: auto;
padding-top: 2rem ;
padding-bottom: 2rem ;
}
.block-region-content{
display: grid;
// grid-column: repeat(2, 1fr);
grid-template-rows: repeat(8, 1fr);
@media(max-width: 891px){
display: flex;
flex-direction: column;
}
.block-block-content3d4d153c-9da8-49e2-be7a-d2245f5716ee{
grid-row: 1 /span 3;
}
.block-views-blockhome-block-1{
// grid-column: 1 /span 2;
grid-row: 2 /span 6;
margin-bottom: 2rem;
@media(max-width: 500px){
img{
width: -moz-available;
height: auto;
}
}
}
// block Appel à candidature
// .block-block-content5ae07b35-3c0b-48f5-b51b-f0f0e4c1765f{
// /////////////// arrêt canndidatures phase 1
// // display: none !important;
// ///////////////
// grid-column: 1;
// grid-row: 2 /span 2;
// width: 80%;
// border: solid $yellow-puca 1px;
// background-color: $white-button;
// font-weight: 800;
// padding: 2rem;
// margin-right: 1rem;
// @media(max-width: 891px){
// margin-bottom: 1rem;
// // margin: auto;
// }
// h2{
// margin-top: 0;
// margin-bottom: 0;
// text-transform: lowercase;
// font-weight: 900;
// line-height: 1rem;
// font-size:1.8rem ;
// }
// .field--name-field-description{
// margin-top: 0;
// font-size: 2.3rem !important;
// line-height: 2.2rem;
// p{
// margin-top: 0.8rem;
// }
// }
// .field--type-link{
// padding: 0;
// margin: 0;
// border: none;
// font-weight: 400;
// background-color: inherit;
// .field__item {
// ::after{
// justify-self: unset;
// padding-left: 1rem;
// content: url(../images/noun-arrow-1569918.svg);
// }
// }
// }
// }
// .block-block-content5ae07b35-3c0b-48f5-b51b-f0f0e4c1765f:hover{
// background-color: $yellow-puca;
// .field--type-link{
// .field__item {
// ::after{
// justify-self: unset;
// padding-left: 1rem;
// content: url(../images/noun-arrow-1569918_hover.svg);
// }
// }
// }
// }
/// block télécharger le cahier des charges
// .block-block-content08189a6a-2ca1-42c3-a780-d7ad0c65619d{
// /////////////// arrêt canndidatures phase 1
// // display: none !important;
// ///////////////
// margin-bottom: 1rem;
// grid-column: 2;
// grid-row: 2;
// width: 90%;
// // height: fit-content;
// display: flex;
// justify-content: flex-end;
// align-items: center;
// @media(max-width: 891px){
// width: 90%;
// }
// @media(max-width: 520px){
// width: 100%;
// }
// .field--type-file{
// width: 100%;
// margin: 0;
// @media(max-width: 891px){
// width: 100%;
// }
// }
// :hover{
// background-color: $yellow-puca;
// }
// }
// /// block télécharger la fiche candidature
// .block-block-content259faa3e-f66e-4776-9f4e-9a3aa26e8252{
// /////////////// arrêt canndidatures phase 1
// // display: none !important;
// ///////////////
// grid-column: 2;
// grid-row: 3;
// width: 90%;
// display: flex;
// justify-content: flex-end;
// align-items: center;
// @media(max-width: 891px){
// width: 90%;
// }
// @media(max-width: 520px){
// width: 100%;
// }
// .field--type-file{
// width: 100%;
// margin: 0;
// @media(max-width: 891px){
// width: 100%;
// }
// }
// :hover{
// background-color: $yellow-puca;
// }
// }
// .block-views-blockhome-block-2{
// grid-column: 1 /span 2;
// grid-row: 4;
// margin-top: 2rem;
// }
}
}
}
}
}