This commit is contained in:
ouidade 2024-09-24 21:21:56 +02:00
parent 8ea4cb329c
commit ab4fda5d0a
4 changed files with 7 additions and 6 deletions

View File

@ -1544,12 +1544,10 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h
}
#home #background-animated {
display: none;
position: absolute;
top: -150px;
left: 0;
width: 100%;
height: 100%;
pointer-events: none; /* Permet de cliquer à travers l'élément */
z-index: 2; /* S'assure que l'élément soit au-dessus */
}
@ -1561,6 +1559,7 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h
#home #background-animated svg {
max-width: 100%;
position: relative;
top: -1500px;
}
#home .layout-content {
position: relative;

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

View File

@ -1,12 +1,12 @@
#home{
#background-animated {
display: none;
// display: none;
position: absolute;
top: -150px;
left: 0;
width: 100%;
height: 100%;
// height: 100%;
pointer-events: none; /* Permet de cliquer à travers l'élément */
z-index: 2; /* S'assure que l'élément soit au-dessus */
@media(max-width: 1400px){
@ -15,7 +15,7 @@
svg{
max-width: 100%;
position: relative;
// top: -1500px;
top: -1500px;
}
}
// .not-visible{

View File

@ -82,7 +82,9 @@
{{ page.content }}
</div>{# /.layout-content #}
<div id="background-animated" >
{% include active_theme_path() ~ '/dist/assets/img/formes-animees.svg' %}
{# {% include active_theme_path() ~ '/dist/assets/img/formes-animees.svg' %} #}
<img src="/themes/custom/quartiers_de_demain/dist/assets/img/formes-animees.svg" id="formes-animees"/>
</div>
{% if page.sidebar_first %}
<aside class="layout-sidebar-first" role="complementary">