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 2115975..60ae10d 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 @@ -827,34 +827,63 @@ footer span.totop #toTop .arrow-up::before { width: 80%; } #home article.node-type-static #paragraph-id--7 .field_field_texte .colone-picto { - display: flex; - flex-direction: row; - justify-content: center; + margin-top: 2rem; + display: grid; + grid-template-columns: repeat(6 auto); + grid-template-rows: repeat(3 1fr); } #home article.node-type-static #paragraph-id--7 .field_field_texte .colone-picto h5 { font-size: 5rem; font-weight: 800; + margin-bottom: 0; + margin: 0; +} +#home article.node-type-static #paragraph-id--7 .field_field_texte .colone-picto h5:nth-of-type(1) { + grid-row: 2; + grid-column: 1; +} +#home article.node-type-static #paragraph-id--7 .field_field_texte .colone-picto h5:nth-of-type(2) { + grid-row: 2; + grid-column: 3; +} +#home article.node-type-static #paragraph-id--7 .field_field_texte .colone-picto h5:nth-of-type(3) { + grid-row: 1; + grid-column: 5; } #home article.node-type-static #paragraph-id--7 .field_field_texte .colone-picto p { - width: 30%; - display: flex; - flex-direction: column; + font-size: 1rem; + font-weight: 400; + margin: 0; } #home article.node-type-static #paragraph-id--7 .field_field_texte .colone-picto p:not(:last-of-type) { padding-right: 2rem; } -#home article.node-type-static #paragraph-id--7 .field_field_texte .colone-picto p:nth-of-type(1)::before { - content: url("../img/pillier-1-full.svg"); - padding-bottom: 1rem; +#home article.node-type-static #paragraph-id--7 .field_field_texte .colone-picto svg:nth-of-type(1) { + grid-row: 1/span 2; + grid-column: 1/span 2; } -#home article.node-type-static #paragraph-id--7 .field_field_texte .colone-picto p:nth-of-type(2)::after { - content: url("../img/pillier-2-full.svg"); - padding-top: 1rem; +#home article.node-type-static #paragraph-id--7 .field_field_texte .colone-picto svg:nth-of-type(2) { + grid-row: 3; + grid-column: inherit; } -#home article.node-type-static #paragraph-id--7 .field_field_texte .colone-picto p:nth-of-type(3)::before { - content: url("../img/pillier-3-full.svg"); - padding-bottom: 1rem; +#home article.node-type-static #paragraph-id--7 .field_field_texte .colone-picto svg:nth-of-type(3) { + grid-row: 1/span 2; + grid-column: 5/span 6; +} +#home article.node-type-static #paragraph-id--7 .field_field_texte .colone-picto p:nth-of-type(1) { + grid-row: 3; + grid-column: 1/span 2; +} +#home article.node-type-static #paragraph-id--7 .field_field_texte .colone-picto p:nth-of-type(2) { + grid-row: 1; +} +#home article.node-type-static #paragraph-id--7 .field_field_texte .colone-picto p:nth-of-type(3) { + grid-row: 3; + grid-column: 5; } #home article.node-type-static #paragraph-id--9 { display: none; +} +#home .paragraph--type--static-parts:not(#paragraph-id--7) #svg1 { + display: none; } \ No newline at end of file diff --git a/web/themes/custom/quartiers_de_demain/dist/assets/img/pillier-1-full.svg b/web/themes/custom/quartiers_de_demain/dist/assets/img/pillier-1-full.svg index a76572d..5ceaf61 100644 --- a/web/themes/custom/quartiers_de_demain/dist/assets/img/pillier-1-full.svg +++ b/web/themes/custom/quartiers_de_demain/dist/assets/img/pillier-1-full.svg @@ -39,5 +39,5 @@ id="tspan1" x="-1.4831511" y="387.52762" - style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:183.589px;font-family:Gilroy;-inkscape-font-specification:'Gilroy Semi-Bold';fill:#ffffff;fill-opacity:1;stroke-width:0.956195">1. + style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:183.589px;font-family:Gilroy, sans-serif;-inkscape-font-specification:'Gilroy Semi-Bold';fill:#ffffff;fill-opacity:1;stroke-width:0.956195">1. diff --git a/web/themes/custom/quartiers_de_demain/dist/assets/img/pillier-2-full.svg b/web/themes/custom/quartiers_de_demain/dist/assets/img/pillier-2-full.svg index 0501787..ff22270 100644 --- a/web/themes/custom/quartiers_de_demain/dist/assets/img/pillier-2-full.svg +++ b/web/themes/custom/quartiers_de_demain/dist/assets/img/pillier-2-full.svg @@ -3,7 +3,7 @@ 2. + style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:183.589px;font-family:Gilroy;font-family:sans-serif;fill:#ffffff;fill-opacity:1;stroke-width:0.956195">2. diff --git a/web/themes/custom/quartiers_de_demain/dist/assets/img/pillier-3-full.svg b/web/themes/custom/quartiers_de_demain/dist/assets/img/pillier-3-full.svg index 33b0d63..309a0d9 100644 --- a/web/themes/custom/quartiers_de_demain/dist/assets/img/pillier-3-full.svg +++ b/web/themes/custom/quartiers_de_demain/dist/assets/img/pillier-3-full.svg @@ -3,7 +3,7 @@ {% endif %} {% for item in items %} -
{{ item.content }}
+
{{ item.content }} + {% include active_theme_path() ~ '/dist/assets/img/pillier-1.svg' %} + {% include active_theme_path() ~ '/dist/assets/img/pillier-2.svg' %} + {% include active_theme_path() ~ '/dist/assets/img/pillier-3.svg' %} +
{% endfor %} {% if multiple %}