This commit is contained in:
Thomas Menari 2013-01-24 22:34:34 +00:00
parent 9f72be10d1
commit 114b0fd09c
2 changed files with 7 additions and 6 deletions

View File

@ -216,7 +216,7 @@ div.imgwrap > img {
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
.thumbnail:hover > div.imgwrap > img {
opacity: 0.5;
}

View File

@ -3,11 +3,12 @@ extends ../layout
block content
script(src='http://masonry.desandro.com/jquery.masonry.min.js')
script
var $container = $('.thumbnails');
$container.imagesLoaded(function(){
$container.masonry({
itemSelector : '.item',
columnWidth : 240
$(function() {
var $container = $('.thumbnails');
$container.imagesLoaded(function(){
$container.masonry({
itemSelector : '.thumbnails > li',
});
});
});
div.page-header.profile_page-header