Center login logo

This commit is contained in:
Alexandre Iooss 2019-08-02 17:50:10 +02:00
parent 6506c229de
commit 0c08091535
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
2 changed files with 14 additions and 5 deletions

View File

@ -134,6 +134,14 @@ input[type=button]:focus, .button:hover, input[type=submit]:hover, input[type=bu
text-align: center !important;
}
/* Branding logo */
#branding img {
vertical-align: middle;
}
#site-name {
padding-left: 10px;
}
/* Dashboard should take all page */
.dashboard #content {
width: auto;

View File

@ -8,11 +8,12 @@ SPDX-License-Identifier: GPL-3.0-or-later
{% block title %}{{ title }} | {{ request.site.name }}{% endblock %}
{% block branding %}
<strong id="site-name">
<a href="/">
<img src="{% static "images/logo.png" %}" height="40px" alt="{{ request.site.name }}" />
</a>
</strong>
<a href="/">
<img src="{% static "images/logo.png" %}" height="40px" alt=""/>
<strong id="site-name">
{{ request.site.name }}
</strong>
</a>
{% endblock %}
{% block usertools %}