paralaxe
This commit is contained in:
parent
8ea4cb329c
commit
ab4fda5d0a
|
@ -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 |
|
@ -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{
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue