2011-12-20 07:58:56 +01:00
|
|
|
// THUMBNAILS
|
|
|
|
// ----------
|
2011-11-17 08:58:36 +01:00
|
|
|
|
2011-12-20 07:58:56 +01:00
|
|
|
.thumbnails {
|
2012-02-07 08:39:22 +01:00
|
|
|
margin-left: -@gridGutterWidth;
|
2011-12-20 07:58:56 +01:00
|
|
|
list-style: none;
|
2011-11-17 08:58:36 +01:00
|
|
|
.clearfix();
|
2011-12-20 07:58:56 +01:00
|
|
|
}
|
|
|
|
.thumbnails > li {
|
|
|
|
float: left;
|
2012-02-07 08:39:22 +01:00
|
|
|
margin: 0 0 @baseLineHeight @gridGutterWidth;
|
2011-12-20 07:58:56 +01:00
|
|
|
}
|
|
|
|
.thumbnail {
|
|
|
|
display: block;
|
2011-12-22 01:21:55 +01:00
|
|
|
padding: 4px;
|
2011-12-20 07:58:56 +01:00
|
|
|
line-height: 1;
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
.border-radius(4px);
|
|
|
|
.box-shadow(0 1px 1px rgba(0,0,0,.075));
|
|
|
|
}
|
|
|
|
// Add a hover state for linked versions only
|
|
|
|
a.thumbnail:hover {
|
|
|
|
border-color: @linkColor;
|
|
|
|
.box-shadow(0 1px 4px rgba(0,105,214,.25));
|
|
|
|
}
|
|
|
|
// Images and captions
|
|
|
|
.thumbnail > img {
|
|
|
|
display: block;
|
2011-12-22 01:21:55 +01:00
|
|
|
max-width: 100%;
|
2012-01-29 07:48:25 +01:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2011-12-20 07:58:56 +01:00
|
|
|
}
|
|
|
|
.thumbnail .caption {
|
|
|
|
padding: 9px;
|
2011-11-17 08:58:36 +01:00
|
|
|
}
|