hautes-alpes-2018: center header #top contents (#24931)

This commit is contained in:
Elias Showk 2018-07-16 16:57:34 +02:00
parent b07dd7b629
commit f3833b51f4
2 changed files with 10 additions and 13 deletions

View File

@ -25,29 +25,27 @@ $margin-center: 0 auto;
}
#header-wrapper {
@include flexbox();
@include vendor-prefix(align-items, center);
max-width: 100%;
margin: $margin-center;
min-height: $custom-header-height;
@media screen and (max-width: $mobile-limit) {
min-height: $custom-mobile-header-height;
}
#header {
@include flexbox();
max-width: $width;
#top {
@include flexbox();
@include vendor-prefix(align-items, center);
max-width: 100%;
@include justify-content(center);
margin: $margin-center;
width: 100%;
padding-left: 2rem;
min-height: $custom-header-height;
max-width: $width;
> .cell {
@include flex(1 1 100%);
&.top-logo {
@include vendor-prefix(flex-basis, auto);
}
}
}
}

View File

@ -32,12 +32,11 @@ data-api-root="{{ site_base }}/api/"
{% block title %} - {% if render_skeleton %}{% skeleton_extra_placeholder title %}{% firstof page_title site_title %}{% end_skeleton_extra_placeholder %}{% else %}{{page.title}}{% endif %}{% endblock %}
{% block header-top %}
{% comment %} bandeau blanc into #header {% endcomment %}
{% placeholder "headerlogo" name="Logo haut" %}
{% endblock %}
{% block header-title %}
{% placeholder "headertitle" name="Titre haut" %}
{% comment %} into #top {% endcomment %}
{% placeholder "headerlogo" name="Logo haut" %}
{% placeholder "headertitle" name="Titre haut" %}
{% endblock %}
{% block user-info %}
{% endblock %}