fixes #963
This commit is contained in:
@@ -1,4 +1,13 @@
|
||||
$(function() {
|
||||
var offset = $("aside#sidebar").offset().top + $("aside#sidebar").height();
|
||||
$("#page-footer").css({"position": "absolute", "top": offset, "width": "100%", "height": "5em"});
|
||||
var $sidebar = $("#sidebar");
|
||||
var $content = $("#content");
|
||||
var sidebar_offset = $sidebar.offset().top + $sidebar.height();
|
||||
var content_offset = $content.offset().top + $content.height();
|
||||
var offset = null;
|
||||
if (sidebar_offset > content_offset) {
|
||||
offset = sidebar_offset;
|
||||
} else {
|
||||
offset = content_offset;
|
||||
}
|
||||
$("#page-footer").css({"position": "absolute", "top": offset, "width": "100%", "height": "3em"});
|
||||
});
|
||||
|
||||
@@ -4,4 +4,13 @@ div#c-favorites {
|
||||
section#content > h1 {
|
||||
font-size: $h3_size;
|
||||
}
|
||||
|
||||
div#posts {
|
||||
margin-left: 0;
|
||||
margin-right: 6.5em;
|
||||
}
|
||||
|
||||
#content {
|
||||
margin-left: 15em;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user