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 {
|
#home #background-animated {
|
||||||
display: none;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -150px;
|
top: -150px;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
|
||||||
pointer-events: none; /* Permet de cliquer à travers l'élément */
|
pointer-events: none; /* Permet de cliquer à travers l'élément */
|
||||||
z-index: 2; /* S'assure que l'élément soit au-dessus */
|
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 {
|
#home #background-animated svg {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
top: -1500px;
|
||||||
}
|
}
|
||||||
#home .layout-content {
|
#home .layout-content {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 1.3 MiB |
|
@ -1,12 +1,12 @@
|
||||||
#home{
|
#home{
|
||||||
|
|
||||||
#background-animated {
|
#background-animated {
|
||||||
display: none;
|
// display: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -150px;
|
top: -150px;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
// height: 100%;
|
||||||
pointer-events: none; /* Permet de cliquer à travers l'élément */
|
pointer-events: none; /* Permet de cliquer à travers l'élément */
|
||||||
z-index: 2; /* S'assure que l'élément soit au-dessus */
|
z-index: 2; /* S'assure que l'élément soit au-dessus */
|
||||||
@media(max-width: 1400px){
|
@media(max-width: 1400px){
|
||||||
|
@ -15,7 +15,7 @@
|
||||||
svg{
|
svg{
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
// top: -1500px;
|
top: -1500px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// .not-visible{
|
// .not-visible{
|
||||||
|
|
|
@ -82,7 +82,9 @@
|
||||||
{{ page.content }}
|
{{ page.content }}
|
||||||
</div>{# /.layout-content #}
|
</div>{# /.layout-content #}
|
||||||
<div id="background-animated" >
|
<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>
|
</div>
|
||||||
{% if page.sidebar_first %}
|
{% if page.sidebar_first %}
|
||||||
<aside class="layout-sidebar-first" role="complementary">
|
<aside class="layout-sidebar-first" role="complementary">
|
||||||
|
|
Loading…
Reference in New Issue