Commit 8958d3c0 authored by Renfred Harper's avatar Renfred Harper
Browse files

Restructure html to support sticky footer

parent 8cf2c3ac
...@@ -23,14 +23,20 @@ a:visited{ ...@@ -23,14 +23,20 @@ a:visited{
color: #003C00; color: #003C00;
} }
div.container{ .holder{
} min-height: 100%;
position: relative;
}
body { body {
background: url(/static/img/southside.jpg) center top no-repeat; background: url(/static/img/southside.jpg) center top no-repeat;
background-size: cover; background-size: cover;
} }
.main-container{
padding-bottom: 150px;
}
.title{ .title{
text-align: center; text-align: center;
font-size: 50px; font-size: 50px;
......
...@@ -23,41 +23,43 @@ ...@@ -23,41 +23,43 @@
</head> </head>
{% endblock %} {% endblock %}
<body> <body>
<nav class="navbar navbar-default" role="navigation"> <div class="holder">
<div class="navbar-header"> <nav class="navbar navbar-default" role="navigation">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse"> <div class="navbar-header">
<span class="sr-only">Toggle navigation</span> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="icon-bar"></span> <span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span> <span class="icon-bar"></span>
<span class="icon-bar"></span> <span class="icon-bar"></span>
</button> <span class="icon-bar"></span>
<a class="navbar-brand" href="#">what's open</a> </button>
</div> <a class="navbar-brand" href="/">what's open</a>
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav navbar-right">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Select Campus <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#">Fairfax</a></li>
<li><a href="#">Arlington</a></li>
<li><a href="#">Prince William</a></li>
</ul>
</li>
</ul>
<div class="navbar-form navbar-right" role="search">
<div class="form-group">
<input id="searchBar" type="text" class="form-control" placeholder="Search">
</div>
</div> </div>
</div> <div class="collapse navbar-collapse navbar-ex1-collapse">
</nav> <ul class="nav navbar-nav navbar-right">
<div class="container"> <li class="dropdown">
<div class="row"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Select Campus <b class="caret"></b></a>
<div class="col-md-12"> <ul class="dropdown-menu">
{% block content %} <li><a href="#">Fairfax</a></li>
<li><a href="#">Arlington</a></li>
{% endblock %} <li><a href="#">Prince William</a></li>
</ul>
</li>
</ul>
<div class="navbar-form navbar-right" role="search">
<div class="form-group">
<input id="searchBar" type="text" class="form-control" placeholder="Search">
</div>
</div>
</div> </div>
</nav>
<div class="container main-container">
<div class="row">
<div class="col-md-12">
{% block content %}
{% endblock %}
</div>
</div>
</div> </div>
<div id="footer"> <div id="footer">
<div class="footer-row"> <div class="footer-row">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment