Skip to content

Commit

Permalink
Footer with backlink
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisOelmueller committed Feb 28, 2013
1 parent 4db4018 commit 6efb6c5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
9 changes: 6 additions & 3 deletions static/style.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
body { padding: 0.8em; font-family: sans-serif; }
pre { background: #eee; border: 2px solid #ccc; }
textarea { background: #eee; border: 2px solid #ccc; }

.page { padding: 0.8em; font-family: sans-serif; }
a { font-weight: bold; color: #06c; }
a:hover { color: #039; }
li a { padding: 10px 20px; }

#nav { width: 100%; list-style: none; float: left; margin: 0 0 0.8em 0; }
#nav li { float: left; }
#nav li a{ padding: 10px 20px; font-weight: bold; color: #06c; }
#nav li a:hover { color: #039; }

.footer { font-size: x-small; margin: 2.5em 0; }
5 changes: 5 additions & 0 deletions templates/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@
{% endfor %}</ul>

<div class=page>{% block body %}{% endblock %}</div>

<div class=footer>
Written by <strong>ChrisOelmueller</strong>.
Fork me on <a href=https://github.com/ChrisOelmueller/rotate>GitHub</a>!
</div>

0 comments on commit 6efb6c5

Please sign in to comment.