1
0
mirror of https://gitlab.crans.org/mediatek/med.git synced 2024-11-27 00:47:10 +00:00

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; text-align: center !important;
} }
/* Branding logo */
#branding img {
vertical-align: middle;
}
#site-name {
padding-left: 10px;
}
/* Dashboard should take all page */ /* Dashboard should take all page */
.dashboard #content { .dashboard #content {
width: auto; width: auto;

View File

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