Fix whitespace in navbar

This commit is contained in:
Edgar P. Burkhart 2022-12-26 17:54:14 +01:00
parent 542ddbc781
commit 01710a9476
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
2 changed files with 6 additions and 4 deletions

View file

@ -30,9 +30,6 @@ nav > form {
nav > a.cur { nav > a.cur {
font-weight: 750; font-weight: 750;
} }
nav > a.home {
font-variant: small-caps;
}
nav > a.logout { nav > a.logout {
float: right; float: right;
} }
@ -41,6 +38,11 @@ nav > a img {
vertical-align: top; vertical-align: top;
margin-right: .5rem; margin-right: .5rem;
} }
nav > a h1 {
display: inline;
font: inherit;
font-variant: small-caps;
}
nav > form input { nav > form input {
font: inherit; font: inherit;

View file

@ -31,7 +31,7 @@
class="home{% if request.resolver_match.url_name == 'index' %} cur{% endif %}" class="home{% if request.resolver_match.url_name == 'index' %} cur{% endif %}"
accesskey="h"> accesskey="h">
<img src="{% static 'main/svg/logo.svg' %}" alt="" /> <img src="{% static 'main/svg/logo.svg' %}" alt="" />
Nummi <h1>Nummi</h1>
</a> </a>
<a href="{% url 'transaction' %}" <a href="{% url 'transaction' %}"
class="{% if request.resolver_match.url_name == 'transaction' %}cur{% endif %}" class="{% if request.resolver_match.url_name == 'transaction' %}cur{% endif %}"