Skip to content

Commit

Permalink
Thumbnails crop centered
Browse files Browse the repository at this point in the history
  • Loading branch information
ksokhan committed Mar 30, 2012
1 parent d213115 commit 500962f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
5 changes: 5 additions & 0 deletions css/gallery.css
Expand Up @@ -12,3 +12,8 @@
overflow:hidden;
}
#thumbnails.gallery .thumbnail a:hover { background:transparent !important; }
#thumbnails.gallery .thumbnail a img {
position:relative;
top:-8px;
left:-8px;
}
5 changes: 5 additions & 0 deletions less/gallery.less
Expand Up @@ -16,5 +16,10 @@
&:hover {
background: transparent !important;
}
img {
position: relative;
top: -8px;
left: -8px;
}
}
}
9 changes: 7 additions & 2 deletions less/gallery.less.cache
@@ -1,4 +1,4 @@
a:4:{s:4:"root";s:19:"./less/gallery.less";s:8:"compiled";s:388:"#thumbnails.gallery .thumbnail {
a:4:{s:4:"root";s:19:"./less/gallery.less";s:8:"compiled";s:475:"#thumbnails.gallery .thumbnail {
border:solid 2px transparent;
width:150px;
height:150px;
Expand All @@ -12,4 +12,9 @@ a:4:{s:4:"root";s:19:"./less/gallery.less";s:8:"compiled";s:388:"#thumbnails.gal
overflow:hidden;
}
#thumbnails.gallery .thumbnail a:hover { background:transparent !important; }
";s:5:"files";a:1:{s:41:"/home/ksokhan/pique-dev/less/gallery.less";i:1332702843;}s:7:"updated";i:1333035826;}
#thumbnails.gallery .thumbnail a img {
position:relative;
top:-8px;
left:-8px;
}
";s:5:"files";a:1:{s:41:"/home/ksokhan/pique-dev/less/gallery.less";i:1333073189;}s:7:"updated";i:1333073190;}

0 comments on commit 500962f

Please sign in to comment.