mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 14:29:29 +01:00
commit
9c7006a983
@ -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;
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user