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;
|
||||
}
|
||||
|
||||
/* Branding logo */
|
||||
#branding img {
|
||||
vertical-align: middle;
|
||||
}
|
||||
#site-name {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
/* Dashboard should take all page */
|
||||
.dashboard #content {
|
||||
width: auto;
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue