Skip to content

Commit

Permalink
base.html: Improve Navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
sagar-kalra committed Oct 12, 2017
1 parent 67b0cfd commit 096c587
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
9 changes: 8 additions & 1 deletion staticFiles/home/base.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
.footer {
position: absolute;
position: fixed;
right: 0;
bottom: 0;
left: 0;
background-color: #222;
height: 120px;
}

#content {
padding-top: 45px;
margin-bottom: 110px;
clear: both;
}

.loader-wrapper {
Expand Down
4 changes: 3 additions & 1 deletion staticFiles/home/navstyle.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@import url(http://fonts.googleapis.com/css?family=Raleway);
@import url(http://fonts.googleapis.com/css?family=Tangerine);
#cssmenu,
#cssmenu ul,
#cssmenu ul li,
Expand Down Expand Up @@ -40,6 +39,9 @@
left: 0;
}
#cssmenu ul {
float: right;
}
#cssmenu{
background: #222;
}
#cssmenu > ul > li {
Expand Down
5 changes: 3 additions & 2 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,13 @@
<div class="loader-rect5"></div>
</div>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<div class="bs-navbar-collapse" id="myNavbar">
<div id='cssmenu'>
<a href="{% url 'home:home' %}" >Programming Club</a>
<ul>
<a href="{% url 'home:home' %}" >Programming Club</a>
<li {% block nav_home %}class="active"{% endblock %}><a href="{% url 'home:home' %}">Home</a></li>
<li {% block nav_resources %}{% endblock %}><a href="{% url 'home:resources' %}">Resources</a></li>
<li><a href="#">About Us</a></li>
</ul>
</div>
</div>
Expand Down

0 comments on commit 096c587

Please sign in to comment.