Skip to content

Commit 0a57df6

Browse files
committed
navbar ui improvements
1 parent 4480bc1 commit 0a57df6

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

main/static/main/style.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,13 +369,16 @@ label.form-invalid:after {
369369
}
370370

371371
.nav-user {
372-
line-height: 40px;
372+
373373
color: #fff;
374374
}
375375

376376
.nav-user a {
377377
color: #fff;
378378
}
379+
.nav-user > a {
380+
text-align: right;
381+
}
379382

380383
.nav-user>a:hover,
381384
.nav-user>a:focus,

main/templates/main/navbar.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<header class="">
1+
{% load static %}<header class="">
22
<div class="container-fluid">
33
{% block content %}
44

@@ -12,7 +12,7 @@
1212
</div>
1313

1414
<div class="col-sm-2 col-xs-6">
15-
<a href="../../" class="nohover"> <h2 class="title"> algoBook </h2></a>
15+
<a href="{% url 'index' %}" class="nohover"><img class="img-responsive" src="{% static 'images/logo.png' %}" alt=""></a>
1616
</div>
1717
<div class="col-sm-6 hidden-xs">
1818
<form class="form-query" action="./search" method="get">

0 commit comments

Comments
 (0)