Skip to content

Commit

Permalink
Added pill navigation and footer navigation.
Browse files Browse the repository at this point in the history
  • Loading branch information
ianli committed Jan 22, 2012
1 parent 25389b4 commit 37bb744
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
16 changes: 16 additions & 0 deletions _layouts/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,31 @@
</p>
</div>

<div class="row">
<div class="offset1 span8">
<ul class="pills">
<li class="<?= raft('page.permalink') == 'index.html' ? 'active' : '' ?>">
<a href="./">Home</a>
</li>
</ul>
</div>
</div>

<div class="row">
<div class="offset1 span8" id="content">
<?= raft("page.content") ?>
</div>
</div>

<footer>
<p>
This demo is generated by YAWL.
<a href="http://github.com/ianli/yawl/">Get the source code</a>.
</p>
<p>
Copyright 2012 <a href="http://ianli.com">Ian Li</a>.
Licensed under <a href="http://www.opensource.org/licenses/mit-license.php">the MIT License</a>.
</p>
</footer>
</div>
</div>
Expand Down
7 changes: 6 additions & 1 deletion css/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/

.hero-unit {
margin-top:20px;
margin:20px 0 20px;
}
.hero-unit > h1 > span {
font-weight:normal;
Expand All @@ -15,4 +15,9 @@

footer {
text-align:center;
}

span.separator {
margin:0 5px;
color:#999;
}

0 comments on commit 37bb744

Please sign in to comment.