Compare commits

..

2 commits

Author SHA1 Message Date
01710a9476
Fix whitespace in navbar 2022-12-26 17:54:14 +01:00
542ddbc781
Update theme
Set background color of table header to theme color
2022-12-26 17:50:03 +01:00
3 changed files with 7 additions and 6 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

@ -4,7 +4,6 @@
border-radius: var(--radius); border-radius: var(--radius);
overflow: hidden; overflow: hidden;
border-bottom: var(--border) solid var(--theme); border-bottom: var(--border) solid var(--theme);
border-top: var(--border) solid var(--theme);
} }
.table.col2 {grid-template-columns: repeat(2, auto)} .table.col2 {grid-template-columns: repeat(2, auto)}
.table.col3 {grid-template-columns: repeat(3, auto)} .table.col3 {grid-template-columns: repeat(3, auto)}
@ -28,7 +27,7 @@
.table > div.w> * {background: var(--bg)} .table > div.w> * {background: var(--bg)}
.table > div.header > * { .table > div.header > * {
background: var(--bg-inv); background: var(--theme);
} }
.table > div > .center { .table > div > .center {

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