Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Commit

Permalink
Added navigation controls to each page :)
Browse files Browse the repository at this point in the history
  • Loading branch information
liamoc committed Feb 15, 2011
1 parent 8731492 commit 3b2dd97
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 12 deletions.
23 changes: 15 additions & 8 deletions css/style.css
Expand Up @@ -7,6 +7,21 @@ pre {
padding:5px;
padding-left:20px;
}
.headerlist {
display:table-row;
list-style:none;
}
.headerlist li {
display:table-cell;
list-style:none;
width:33%;
}
.header {
display: table;
padding-top:10px;
padding-bottom:30px;
width:100%;
}
.right {
float:right;
}
Expand Down Expand Up @@ -48,7 +63,6 @@ pre.sourceCode span.Error { color: red; }

.titleimage {
font-family: serif;
float:left;
margin:0px;
margin-left:18px;
font-size:42px;
Expand Down Expand Up @@ -143,13 +157,6 @@ h3 {
font-weight:normal;

}
.header {
text-align:right;
height:78px;
vertical-align:bottom;
margin-right:15px;
padding-top:9px;
}
.footer {
font-size:12px;
color:#444444;
Expand Down
1 change: 0 additions & 1 deletion header.markdown
@@ -1,2 +1 @@
--- header

2 changes: 2 additions & 0 deletions pages/introduction.md
@@ -1,6 +1,8 @@
-----
title: Introduction
date: 16th Febuary 2011
prev:
next: <a href="/pages/peano.html">Hello, Peano → </a>
-----

About this tutorial
Expand Down
2 changes: 2 additions & 0 deletions pages/peano.md
@@ -1,6 +1,8 @@
-----
title: Hello, Peano
date: 16th Feb 2011
next:
prev: <a href="/pages/introduction.html">← Introduction</a>
-----

Definitions, Definitions
Expand Down
18 changes: 15 additions & 3 deletions templates/default.html
Expand Up @@ -9,14 +9,26 @@
<body>
<div class=container>
<div class='titleimage'>Learn you an Agda</div>
<div id="content">
<div class='header'>
$header
<ul class=headerlist>
<li style="text-align:left">$prev</li>
<li style="text-align:center">
<a href="/toc.html">Table of Contents</a></li>
<li style="text-align:right">$next</li>
</ul>
</div>
<div id="content">
<div class='title'>$title</div>
<div class='date'>$date</div>
$body

<div class='header'>
<ul class=headerlist>
<li style="text-align:left">$prev</li>
<li style="text-align:center">
<a href="/toc.html">Table of Contents</a></li>
<li style="text-align:right">$next</li>
</ul>
</div>
<div class='footer'>$footer</div>
</div>
</div>
Expand Down

0 comments on commit 3b2dd97

Please sign in to comment.