hautes-alpes-2018: center header #top contents (#24931)
This commit is contained in:
parent
b07dd7b629
commit
f3833b51f4
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue