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

Update to v0.1.0rc of pelican-red

This commit is contained in:
2013-07-30 15:22:49 -04:00
parent 3159beba2e
commit 6fd22fca44
15 changed files with 758 additions and 1250 deletions

View File

@@ -16,7 +16,7 @@ function ready(){
// 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">');
$(this).wrap('<a class="th" href="'+$(this).attr('src')+'" style="max-width:'+Math.min(this.naturalWidth, 770)+'px">');
});
};