fixed site name & branding display

This commit is contained in:
2026-10-20 20:44:36 +02:00
parent 0e3b1c9c2d
commit 15ae4466e7
2 changed files with 24 additions and 2 deletions
@@ -18,10 +18,25 @@ header[role="banner"]{
justify-content:space-between; justify-content:space-between;
align-items: center; align-items: center;
padding: 0.2em 0; padding: 0.2em 0;
.header-left{
flex: 1 1 auto;
}
.header-center{
flex: 0 1 auto;
}
.header-rigth{
flex: 0 0 auto;
}
} }
#block-leshed-identitedusite{ #block-leshed-identitedusite{
a{ display: flex;
flex-direction: row;
align-items:center;
>a:first-child{
flex: content ;
flex: 0 0 3.5em;
// color: ; // color: ;
text-decoration: none; text-decoration: none;
font-size: 2em; font-size: 2em;
@@ -31,6 +46,10 @@ header[role="banner"]{
// color: $rose; // color: $rose;
// } // }
} }
div.site-slogan{
flex: 1 1 auto;
line-height: 1;
}
} }
.header-right{ .header-right{
@@ -16,5 +16,8 @@
{% if site_name %} {% if site_name %}
<a href="{{ path('<front>') }}" rel="home" class="variable-title">{{ site_name }}</a> <a href="{{ path('<front>') }}" rel="home" class="variable-title">{{ site_name }}</a>
{% endif %} {% endif %}
{{ site_slogan }} {% if site_slogan %}
<div class="site-slogan">{{ site_slogan }}</div>
{% endif %}
{% endblock %} {% endblock %}