Skip to content

Commit

Permalink
[template] Adding information and styling the footer.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob McGuire-Dale committed Feb 22, 2012
1 parent 0817a7b commit 91f7aa5
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 23 deletions.
33 changes: 24 additions & 9 deletions media/less/base.less
Expand Up @@ -41,6 +41,28 @@
font-family: "Veranda", lucida, tahoma, helvetica, arial, sans-serif;
line-height: 1.4em;

/* indentation */
.offset_com{
float: left;
position: relative;
}
.offset1{
.offset_com;
left: 0px;
}
.offset2{
.offset_com;
left: @grid_col + @grid_gutter;
}
.offset3{
.offset_com;
left: 2 * (@grid_col + @grid_gutter);
}
.offset4{
.offset_com;
left: 3 * (@grid_col + @grid_gutter);
}

/* links */
a{
color: @dark_blue;
Expand Down Expand Up @@ -132,20 +154,13 @@

/* Footer */
#footer{
display: table;
width: 100%;
border-top: @dark_border;
margin-top: @grid_gutter;

.small-text;

#about{
display: table-cell;
text-align: left;
}

#copyright{
display: table-cell;

#right{
text-align: right;
}
}
Expand Down
40 changes: 26 additions & 14 deletions templates/base.html
Expand Up @@ -93,20 +93,32 @@ <h1 id='title'>
</div>

<!-- Footer -->
<div id="footer">
<div id="about">
Site code available on
<a href="http://github.com/robatron/robmd.net">
GitHub
</a>.

Powered by
<a href="https://github.com/mythmon/wok">wok</a>.
</div>

<div id="copyright">
&copy; Copyright <a href="http://robmd.net/">Rob McGuire-Dale</a>
</div>
<table id="footer">
<tr>
<td id='left'>
<div>
Powered by
<a href="https://github.com/mythmon/wok">wok</a>
</div>

<div>
Fork me on
<a href="http://github.com/robatron/robmd.net">
GitHub
</a>
</div>
</td>

<td id='right'>
<div>
&copy; Copyright <a href="http://robmd.net/">Rob McGuire-Dale</a>
</div>

<div>
Last generated {{ site.datetime.strftime('%Y/%m/%d %H:%M:%S') }}
</div>
</td>
</tr>
</div>

</div>
Expand Down

0 comments on commit 91f7aa5

Please sign in to comment.