Center login logo
This commit is contained in:
parent
6506c229de
commit
0c08091535
|
@ -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;
|
||||||
|
|
|
@ -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=""/>
|
||||||
<img src="{% static "images/logo.png" %}" height="40px" alt="{{ request.site.name }}" />
|
<strong id="site-name">
|
||||||
</a>
|
{{ request.site.name }}
|
||||||
</strong>
|
</strong>
|
||||||
|
</a>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block usertools %}
|
{% block usertools %}
|
||||||
|
|
Loading…
Reference in New Issue