From a64669ab8a941772b13532b3224c2b60ece6571d Mon Sep 17 00:00:00 2001 From: ouidade Date: Fri, 3 Dec 2021 17:00:31 +0100 Subject: [PATCH] lien ext page static --- web/themes/custom/eql/css-compiled/styles.css | 36 +++++++++---------- web/themes/custom/eql/scss/pages/_static.scss | 34 ++++++++++++------ 2 files changed, 42 insertions(+), 28 deletions(-) diff --git a/web/themes/custom/eql/css-compiled/styles.css b/web/themes/custom/eql/css-compiled/styles.css index 7edf7cd..7d3c15a 100644 --- a/web/themes/custom/eql/css-compiled/styles.css +++ b/web/themes/custom/eql/css-compiled/styles.css @@ -213,7 +213,8 @@ a { background: white; color: #009ee3; padding-left: 1rem; - padding-top: 1rem; } + padding-top: 1rem; + margin-bottom: 1rem; } .layout__region--third .block-region-third .field--name-field-fichiers span:nth-of-type(2) { display: none; } .layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf { @@ -229,29 +230,28 @@ a { align-items: center; color: #009ee3; font-weight: 800; } - .layout__region--third .block-region-third .block-entity-fieldnodefield-liens { + .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens .field__item { + margin: auto; height: fit-content; border: 2px solid #009ee3; min-height: 4rem; background: white; color: #009ee3; padding-left: 1rem; - padding-top: 1rem; } - .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens { - height: inherit; - margin: auto; } - .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens a { - display: inline-flex; - align-items: center; - color: #009ee3; - font-weight: 800; } - .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens a::before { - content: url("../images/pictos/noun_External Link_674151.svg"); - width: 50px; - height: 53px; - padding-right: 1rem; } - .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens a svg.ext { - display: none; } + padding-top: 1rem; + margin-bottom: 1rem; } + .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens a { + display: inline-flex; + align-items: center; + color: #009ee3; + font-weight: 800; } + .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens a::before { + content: url("../images/pictos/noun_External Link_674151.svg"); + width: 50px; + height: 53px; + padding-right: 1rem; } + .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; } .layout__region--third .block-region-third .block-entity-fieldnodefield-ress h2 { diff --git a/web/themes/custom/eql/scss/pages/_static.scss b/web/themes/custom/eql/scss/pages/_static.scss index 313788b..6369b8d 100644 --- a/web/themes/custom/eql/scss/pages/_static.scss +++ b/web/themes/custom/eql/scss/pages/_static.scss @@ -91,6 +91,7 @@ color: $blue-light; padding-left: 1rem; padding-top: 1rem; + margin-bottom: 1rem; span:nth-of-type(2){ display: none; @@ -115,19 +116,32 @@ } .block-entity-fieldnodefield-liens{ - height: fit-content; - border: 2px solid $blue-light; + // height: fit-content; + // border: 2px solid $blue-light; - min-height: 4rem; - // max-width: 75%; - background: $white; - color: $blue-light; - padding-left: 1rem; - padding-top: 1rem; + // min-height: 4rem; + // // max-width: 75%; + // background: $white; + // color: $blue-light; + // padding-left: 1rem; + // padding-top: 1rem; .field--name-field-liens{ - height: inherit; - margin: auto; + + + .field__item{ + margin: auto; + height: fit-content; + border: 2px solid $blue-light; + + min-height: 4rem; + // max-width: 75%; + background: $white; + color: $blue-light; + padding-left: 1rem; + padding-top: 1rem; + margin-bottom: 1rem; + } a{