.page-node-type-offre-de-service{ background: url('../images/pictos/carre-contour-bleu-offre.svg'); background-repeat: no-repeat; background-position-y: 7rem; max-width: 100vw; background-size: contain; // #block-contenudelapageprincipale{ .layout__region--top{ .block-region-top{ margin-top: 2rem; margin-left: 13%; display: grid; grid-template-columns: auto auto 1fr; grid-template-rows: repeat(6 auto); @media (max-width: 810px){ margin-left: 8%; } .block-entity-fieldnodefield-photo{ width: fit-content; grid-column: 1; grid-row: 1 / span 6; width: 250px; height: 250px; margin-right: 2rem; img{ width: 100%; height: auto; } @media (max-width: 810px){ width: 90px; height: 90px; } } .block-entity-fieldnodefield-type-de-protagoniste{ background: $white; width: fit-content; grid-column: 2 /span 3; grid-row: 1; text-transform: uppercase; // color: rgb(160, 26, 39); font-weight: 900; font-size: 0.8rem; .type-de-protagoniste-5{ color: rgb(255, 0, 15); } .type-de-protagoniste-6{ color:rgb(160, 26, 39); } .type-de-protagoniste-7{ color: rgb(199, 215, 74); } .type-de-protagoniste-8{ color:rgb(255, 100, 83); } .type-de-protagoniste-9{ color:rgb(111, 109, 125); } } .block-entity-fieldnodefield-prenom{ background: $white; width: fit-content; grid-column: 2; grid-row: 2; padding-right: 0.5rem; text-transform: uppercase; font-weight: 900; font-size: 1.5rem; } .block-entity-fieldnodefield-nom{ background: $white; width: fit-content; grid-column: 3; grid-row: 2; text-transform: uppercase; font-weight: 900; font-size: 1.5rem; } .block-entity-fieldnodefield-structure{ background: $white; width: fit-content; grid-column: 2 / span 3; grid-row: 3; text-transform: uppercase; font-weight: 800; font-size: 1.2rem; margin-top: 0.5rem; &::after{ content:url('data:image/svg+xml, '); } } .block-entity-fieldnodetitle{ background: $white; width: fit-content; grid-column: 2 / span 3; grid-row: 4; font-size: 2.5rem; font-family: "Source Code Pro"; // padding-right: 15%; width: 70%; @media (max-width: 810px){ font-size: 1.2rem; } a{ color: $black; } } .block-entity-fieldnodefield-localisation{ background: $white; width: fit-content; grid-column: 2 / span 3; grid-row: 5; text-transform: uppercase; font-weight: 800; font-size: 0.8rem; margin-top: 1.5rem; } .block-entity-fieldnodefield-date-de-proposition{ background: $white; width: fit-content; grid-column: 2 / span 3; grid-row: 6; font-size: 0.8rem; padding-top: 1rem; } } } .layout__region--second{ // paragraphe texte margin-top: 3rem; margin-left: 20%; margin-right: 2rem; .block-entity-fieldnodebody{ .field--type-text-with-summary{ background: $white; p{ margin: 0;} } } @media (max-width: 810px){ margin-left: 10%; } } .layout__region--third{ // colone de droite fichiers et ressources liƩes margin-top: 3rem; .block-region-third{ display: flex; flex-direction: column; width: 70%; @media (max-width: 810px){ margin: auto; } .title-contact{ background: $blue-light; color: $white; text-transform: uppercase; font-weight: 900; font-size: 0.8rem; padding-top: 1rem; padding-left: 1rem; padding-right: 1rem; } .block-entity-fieldnodefield-courriel{ background: $blue-light; color: $white; font-weight: 600; padding-left: 1rem; padding-right: 1rem; padding-bottom: 1rem; a{ color: white; hyphens: auto; svg{ display: none; } } } .block-entity-fieldnodefield-telephone{ display: none; background: $blue-light; color: $white; font-weight: 600; padding-left: 1rem; padding-right: 1rem; padding-bottom: 1rem; } .block-entity-fieldnodefield-fichiers{ height: fit-content; border: 2px solid $blue-light; background-color: $white; margin-top: 1rem; } .field--name-field-fichiers{ min-height: 4rem; background: $white; color: $blue-light; padding-left: 1rem; padding-top: 1rem; margin-bottom: 1rem; span:nth-of-type(2){ display: none; } .file--mime-application-pdf{ height: inherit; margin: auto; ::before{ content: url("../images/pictos/noun_Download_file_307900.svg"); min-width:50px; height: auto; padding-right: 1rem; } a{ hyphens: auto; display: inline-flex; align-items: center; color: $blue-light; font-weight: 800; // max-width: 80px ; } } } .block-entity-fieldnodefield-liens{ margin-top: 1rem; .field--name-field-liens{ .field__item{ margin: auto; height: fit-content; border: 2px solid $blue-light; min-height: 4rem; background: $white; color: $blue-light; padding-left: 1rem; padding-top: 1rem; margin-bottom: 1rem; } a{ display: inline-flex; align-items: center; color: $blue-light; font-weight: 800; &::before{ content: url("../images/pictos/noun_External Link_674151.svg"); min-width: 50px; height: auto; padding-right: 1rem; } svg.ext{ display: none; } } } } .block-entity-fieldnodefield-ress{ margin-top: 3rem; .field--name-field-ress{ .field__label{ font-size: 0.8rem; color: $black; font-weight: 900; margin-bottom: 1rem; } .node-type-ressource{ display: flex; flex-direction: column; border: 2px solid $blue-light; padding: 1rem; height: fit-content; margin-bottom: 1rem; background-color: $white; &:first-of-type{ border-top: 1px solid $blue-light; padding-top: 1rem; &::after{ content: url("../images/pictos/noun_Arrow_3771902.svg"); align-self: flex-end; } } .field--name-title{ h2{ margin: 0; } a{ color: $black; font-size: 1.4rem; font-weight: 600; } } .field--name-field-auteur-s-{ font-weight: 800; p{ margin: 0; } .field__label{ display:none; } } .field--name-field-edition{ p{ margin: 0; } .field__label{ display:none; } } .field--name-field-images{ display: none; width: 50%; img{ width: 100%; height: auto; } } .field--name-field-type-de-ressource{ display: inline-flex; margin-top: 2rem; background: $blue-dark; margin-right: 1rem; padding-left: 0.3rem; padding-right: 0.3rem; color: $white; font-weight: 800; vertical-align: middle; } } } } } } // } }