Permalink
Browse files

Added pill navigation and footer navigation.

  • Loading branch information...
1 parent 25389b4 commit 37bb744693ef4b94c690ff75a1c57ac40c8b3399 @ianli committed Jan 22, 2012
Showing with 22 additions and 1 deletion.
  1. +16 −0 _layouts/default.php
  2. +6 −1 css/default.css
View
16 _layouts/default.php
@@ -30,14 +30,30 @@
</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>
View
7 css/default.css
@@ -3,7 +3,7 @@
*/
.hero-unit {
- margin-top:20px;
+ margin:20px 0 20px;
}
.hero-unit > h1 > span {
font-weight:normal;
@@ -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.