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

View File

@ -16,13 +16,18 @@
margin-top: 3rem;
}
.sidebar_first_container{
position: sticky;
position: -webkit-sticky;
top: 0;
align-self: flex-start;
display: flex;
flex-direction: column;
width: 80%;
position: sticky;
position: -webkit-sticky;
top: 10rem;
// top: 10rem;
font-weight: 400;
.field-content{
margin-bottom: 0.7rem;
}
@ -30,6 +35,7 @@
display: none;
}
#block-quartiers-de-demain-views-block-statics-block-1{
order: 1;
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 #}
{% if page.sidebar_first %}
<aside class="layout-sidebar-first" role="complementary">
<aside class="layout-sidebar-first sticky-menu" role="complementary">
{{ page.sidebar_first }}
</aside>
{% endif %}

View File

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