forked from Github-Mirrors/canaille
CSS with customize logo
This commit is contained in:
parent
2b1591cfa8
commit
44055f9469
2 changed files with 7 additions and 2 deletions
|
@ -32,8 +32,13 @@ body {
|
|||
padding: 1em;
|
||||
}
|
||||
|
||||
.logo {
|
||||
margin: auto;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.logo img{
|
||||
max-width: 50px;
|
||||
width: 50px;
|
||||
max-height: 50px;
|
||||
}
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
{% if logo_url %}
|
||||
<div class="header item">
|
||||
<a href="/" class="logo">
|
||||
<img class="ui image" src="{{ logo_url }}" alt="{{ website_name }}" />
|
||||
<img class="ui img" src="{{ logo_url }}" alt="{{ website_name }}" />
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue