1
0
mirror of https://github.com/arsenetar/arsenetar.github.io.git synced 2026-02-24 11:01:39 +00:00

Update to latest version of pelican-red

This commit is contained in:
2013-07-29 16:57:23 -04:00
parent ca139c815d
commit 3159beba2e
14 changed files with 169 additions and 134 deletions

View File

@@ -13,6 +13,11 @@ yepnope.errorTimeout = 3000; // set 3 second error timeout instead of 10
function ready(){
// Hack to fix .codehilitetable overflow
$('.codehilitetable').wrap('<div class="codehilitewrapper">');
// Hack to make images more responsive and wrap with .th class
$('#main article img').each( function() {
$(this).css({'height': '', 'width': ''});
$(this).wrap('<a class="th" href="'+$(this).attr('src')+'" style="max-width:'+this.naturalWidth+'px">');
});
};
// zeptojs or jquery