aboutsummaryrefslogtreecommitdiff
path: root/less/thumbnails.less
diff options
context:
space:
mode:
Diffstat (limited to 'less/thumbnails.less')
-rw-r--r--less/thumbnails.less13
1 files changed, 9 insertions, 4 deletions
diff --git a/less/thumbnails.less b/less/thumbnails.less
index aa69f8e33..91b75f785 100644
--- a/less/thumbnails.less
+++ b/less/thumbnails.less
@@ -1,5 +1,8 @@
-// THUMBNAILS
-// ----------
+//
+// Thumbnails
+// --------------------------------------------------
+
+
// Note: `.thumbnails` and `.thumbnails > li` are overriden in responsive files
// Make wrapper ul behave like the grid
@@ -24,10 +27,11 @@
.thumbnail {
display: block;
padding: 4px;
- line-height: 1;
+ line-height: @baseLineHeight;
border: 1px solid #ddd;
.border-radius(4px);
- .box-shadow(0 1px 1px rgba(0,0,0,.075));
+ .box-shadow(0 1px 3px rgba(0,0,0,.055));
+ .transition(all .2s ease-in-out);
}
// Add a hover state for linked versions only
a.thumbnail:hover {
@@ -44,4 +48,5 @@ a.thumbnail:hover {
}
.thumbnail .caption {
padding: 9px;
+ color: @gray;
}