fixes #949 using js

This commit is contained in:
albert
2013-03-18 15:38:14 -07:00
parent 4868f67e69
commit 6c0dd832a5
3 changed files with 6 additions and 6 deletions

View File

@@ -0,0 +1,4 @@
$(function() {
var offset = $("aside#sidebar").offset().top + $("aside#sidebar").height();
$("#page-footer").css({"position": "absolute", "top": offset, "width": "100%", "height": "5em"});
});

View File

@@ -27,6 +27,7 @@ div#page {
aside#sidebar {
width: 15em;
float: left;
position: absolute;
h1 {
font-size: $h3_size;
@@ -41,11 +42,6 @@ div#page {
}
}
aside#sidebar:after {
content: "";
clear: both;
}
aside#sidebar > section {
margin-bottom: 1em;
}
@@ -73,7 +69,6 @@ div#page {
}
footer#page-footer {
clear: both;
margin: 1em;
text-align: center;
padding-top: 1em;

View File

@@ -176,6 +176,7 @@ div#c-posts {
div#a-index {
div#posts {
margin-left: 0;
margin-right: 6.5em;
}