CSS with customize logo

This commit is contained in:
Laurent GAY 2022-11-04 18:28:26 +01:00 committed by Éloi Rivard
parent 2b1591cfa8
commit 44055f9469
2 changed files with 7 additions and 2 deletions

View file

@ -32,8 +32,13 @@ body {
padding: 1em;
}
.logo {
margin: auto;
display: block;
}
.logo img{
max-width: 50px;
width: 50px;
max-height: 50px;
}

View file

@ -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 %}