diff --git a/web/themes/custom/eql/css-compiled/styles.css b/web/themes/custom/eql/css-compiled/styles.css index 22c253b..d55c3c7 100644 --- a/web/themes/custom/eql/css-compiled/styles.css +++ b/web/themes/custom/eql/css-compiled/styles.css @@ -249,7 +249,7 @@ a { .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens a svg.ext { display: none; } .layout__region--third .block-region-third .block-entity-fieldnodefield-ress { - margin-top: 5rem; } + margin-top: 3rem; } .layout__region--third .block-region-third .block-entity-fieldnodefield-ress h2 { font-size: 0.8rem; color: black; @@ -710,6 +710,46 @@ a { color: #009ee3; background-color: white; text-transform: uppercase; } + .node-id-3 .block-entity-fieldnodefield-ress { + margin-top: 3rem; } + .node-id-3 .block-entity-fieldnodefield-ress h2 { + font-size: 0.8rem; + color: black; + font-weight: 900; } + .node-id-3 .block-entity-fieldnodefield-ress .node-type-ressource { + display: flex; + flex-direction: column; + border: 2px solid #009ee3; + padding: 1rem; + height: fit-content; + margin-bottom: 1rem; + background-color: white; } + .node-id-3 .block-entity-fieldnodefield-ress .node-type-ressource:first-of-type { + border-top: 1px solid #009ee3; + padding-top: 1rem; } + .node-id-3 .block-entity-fieldnodefield-ress .node-type-ressource:first-of-type::after { + content: url("../images/pictos/noun_Arrow_3771902.svg"); + align-self: end; } + .node-id-3 .block-entity-fieldnodefield-ress .node-type-ressource .field--name-title a { + color: black; + font-size: 1.4rem; + font-weight: 600; } + .node-id-3 .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-auteur-s- { + font-weight: 800; } + .node-id-3 .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-auteur-s- p { + margin: 0; } + .node-id-3 .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-auteur-s- .field__label { + display: none; } + .node-id-3 .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-edition p { + margin: 0; } + .node-id-3 .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-edition .field__label { + display: none; } + .node-id-3 .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-images { + display: none; + width: 50%; } + .node-id-3 .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-images img { + width: 100%; + height: auto; } .path-actualites { background-color: rgba(0, 158, 227, 0.2); diff --git a/web/themes/custom/eql/scss/pages/_ami.scss b/web/themes/custom/eql/scss/pages/_ami.scss index 68c2791..482fc5d 100644 --- a/web/themes/custom/eql/scss/pages/_ami.scss +++ b/web/themes/custom/eql/scss/pages/_ami.scss @@ -28,4 +28,67 @@ } } + + .block-entity-fieldnodefield-ress{ + margin-top: 3rem; + + h2{ + font-size: 0.8rem; + color: $black; + font-weight: 900; + } + + .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: end; + } + } + .field--name-title{ + 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; + } + } + } + } + } diff --git a/web/themes/custom/eql/scss/pages/_faq.scss b/web/themes/custom/eql/scss/pages/_faq.scss index c22c2fb..f46d328 100644 --- a/web/themes/custom/eql/scss/pages/_faq.scss +++ b/web/themes/custom/eql/scss/pages/_faq.scss @@ -17,9 +17,13 @@ display: grid; grid-template-columns: 1fr repeat(4, 2fr) 1fr; + + // texte .block-config-pages.block-config-pages-block{ grid-column: 2 / span 3; } + + // bloc bleu déposer une question .block-block-content.block-block-content10aba627-5586-4529-b44e-c0b4551a4398{ grid-column: 5; background-color: $blue-light; @@ -29,6 +33,7 @@ display: block; content: url("../images/pictos/picto_faq.svg"); + } text-align: center; a{ diff --git a/web/themes/custom/eql/scss/pages/_static.scss b/web/themes/custom/eql/scss/pages/_static.scss index 02193cb..12d79c3 100644 --- a/web/themes/custom/eql/scss/pages/_static.scss +++ b/web/themes/custom/eql/scss/pages/_static.scss @@ -149,7 +149,7 @@ .block-entity-fieldnodefield-ress{ - margin-top: 5rem; + margin-top: 3rem; h2{ font-size: 0.8rem;