push test

This commit is contained in:
ouidade 2024-03-07 10:15:12 +01:00
parent a6f95e4cc4
commit fff61b5dee
4 changed files with 26 additions and 8 deletions

View File

@ -398,12 +398,13 @@ footer span.totop {
width: 80%; width: 80%;
margin-top: 3rem; } } margin-top: 3rem; } }
.layout-sidebar-first .sidebar_first_container { .layout-sidebar-first .sidebar_first_container {
position: sticky;
position: -webkit-sticky;
top: 0;
align-self: flex-start;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
width: 80%; width: 80%;
position: sticky;
position: -webkit-sticky;
top: 10rem;
font-weight: 400; } font-weight: 400; }
.layout-sidebar-first .sidebar_first_container .field-content { .layout-sidebar-first .sidebar_first_container .field-content {
margin-bottom: 0.7rem; } margin-bottom: 0.7rem; }
@ -414,6 +415,11 @@ footer span.totop {
order: 1; order: 1;
text-transform: uppercase; } text-transform: uppercase; }
.sticky-menu {
position: sticky;
position: -webkit-sticky;
top: 10rem; }
/*pages*/ /*pages*/
#home { #home {
width: 100%; width: 100%;

View File

@ -16,13 +16,18 @@
margin-top: 3rem; margin-top: 3rem;
} }
.sidebar_first_container{ .sidebar_first_container{
position: sticky;
position: -webkit-sticky;
top: 0;
align-self: flex-start;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
width: 80%; width: 80%;
position: sticky;
position: -webkit-sticky; // top: 10rem;
top: 10rem;
font-weight: 400; font-weight: 400;
.field-content{ .field-content{
margin-bottom: 0.7rem; margin-bottom: 0.7rem;
} }
@ -30,6 +35,7 @@
display: none; display: none;
} }
#block-quartiers-de-demain-views-block-statics-block-1{ #block-quartiers-de-demain-views-block-statics-block-1{
order: 1; order: 1;
text-transform: uppercase; text-transform: uppercase;
@ -62,3 +68,9 @@
} }
} }
.sticky-menu{
position: sticky;
position: -webkit-sticky;
top: 10rem;
}

View File

@ -64,7 +64,7 @@
</div>{# /.layout-content #} </div>{# /.layout-content #}
{% if page.sidebar_first %} {% if page.sidebar_first %}
<aside class="layout-sidebar-first" role="complementary"> <aside class="layout-sidebar-first sticky-menu" role="complementary">
{{ page.sidebar_first }} {{ page.sidebar_first }}
</aside> </aside>
{% endif %} {% endif %}

View File

@ -64,7 +64,7 @@
</div>{# /.layout-content #} </div>{# /.layout-content #}
{% if page.sidebar_first %} {% if page.sidebar_first %}
<aside class="layout-sidebar-first" role="complementary"> <aside class="layout-sidebar-first sticky-menu" role="complementary">
{{ page.sidebar_first }} {{ page.sidebar_first }}
</aside> </aside>
{% endif %} {% endif %}