From f23df98c97881973046ce51fe80ce2f2ff69bc4f Mon Sep 17 00:00:00 2001 From: ouidade Date: Mon, 3 Mar 2025 13:41:10 +0100 Subject: [PATCH] css poids site --- .../dist/assets/css/bundle.css | 15 ++++++++++----- .../src/assets/scss/pages/node-type-site.scss | 3 ++- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/web/themes/custom/quartiers_de_demain/dist/assets/css/bundle.css b/web/themes/custom/quartiers_de_demain/dist/assets/css/bundle.css index 1777c24..8cf8ea1 100644 --- a/web/themes/custom/quartiers_de_demain/dist/assets/css/bundle.css +++ b/web/themes/custom/quartiers_de_demain/dist/assets/css/bundle.css @@ -3509,17 +3509,20 @@ body { .node-type-site .layout--threecol-25-50-25 .layout__region--third .documents-liens-wrapper .field_field_documents { margin-bottom: 0.3rem; } -.node-type-site .layout--threecol-25-50-25 .layout__region--third .field_field_liens_site { +.node-type-site .layout--threecol-25-50-25 .layout__region--third .field_field_liens_site, +.node-type-site .layout--threecol-25-50-25 .layout__region--third .field--type-file { display: flex; flex-direction: column !important; } @media (max-width: 810px) { - .node-type-site .layout--threecol-25-50-25 .layout__region--third .field_field_liens_site { + .node-type-site .layout--threecol-25-50-25 .layout__region--third .field_field_liens_site, + .node-type-site .layout--threecol-25-50-25 .layout__region--third .field--type-file { max-width: 50%; margin: auto; } } -.node-type-site .layout--threecol-25-50-25 .layout__region--third .field_field_liens_site a { +.node-type-site .layout--threecol-25-50-25 .layout__region--third .field_field_liens_site a, +.node-type-site .layout--threecol-25-50-25 .layout__region--third .field--type-file a { display: inline-flex; align-items: center; color: white; @@ -3529,10 +3532,12 @@ body { font-size: 0.6rem; margin-bottom: 0.3rem; } -.node-type-site .layout--threecol-25-50-25 .layout__region--third .field_field_liens_site a svg { +.node-type-site .layout--threecol-25-50-25 .layout__region--third .field_field_liens_site a svg, +.node-type-site .layout--threecol-25-50-25 .layout__region--third .field--type-file a svg { display: none; } -.node-type-site .layout--threecol-25-50-25 .layout__region--third .field_field_liens_site a::after { +.node-type-site .layout--threecol-25-50-25 .layout__region--third .field_field_liens_site a::after, +.node-type-site .layout--threecol-25-50-25 .layout__region--third .field--type-file a::after { display: inline-flex; content: url("../img/noun-arrow-to-right.svg"); padding-right: 0.2rem; diff --git a/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/node-type-site.scss b/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/node-type-site.scss index 6359aa6..b90a072 100644 --- a/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/node-type-site.scss +++ b/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/node-type-site.scss @@ -386,7 +386,8 @@ margin-bottom: 0.3rem; } } - .field_field_liens_site{ + .field_field_liens_site, + .field--type-file{ display: flex; flex-direction: column !important;