2012-06-29 06:46:45 +02:00
|
|
|
//
|
|
|
|
// Thumbnails
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
|
2012-04-01 09:59:34 +02:00
|
|
|
// The actual thumbnail (can be `a` or `div`)
|
2011-12-20 07:58:56 +01:00
|
|
|
.thumbnail {
|
|
|
|
display: block;
|
2011-12-22 01:21:55 +01:00
|
|
|
padding: 4px;
|
2012-08-14 20:06:35 +02:00
|
|
|
line-height: @baseLineHeight;
|
2011-12-20 07:58:56 +01:00
|
|
|
border: 1px solid #ddd;
|
|
|
|
.border-radius(4px);
|
2012-07-05 19:12:15 +02:00
|
|
|
.box-shadow(0 1px 3px rgba(0,0,0,.055));
|
2012-08-15 23:49:55 +02:00
|
|
|
.transition(all .2s ease-in-out);
|
2011-12-20 07:58:56 +01:00
|
|
|
}
|
|
|
|
// Add a hover state for linked versions only
|
|
|
|
a.thumbnail:hover {
|
|
|
|
border-color: @linkColor;
|
|
|
|
.box-shadow(0 1px 4px rgba(0,105,214,.25));
|
|
|
|
}
|
2012-04-01 09:59:34 +02:00
|
|
|
|
2011-12-20 07:58:56 +01:00
|
|
|
// 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;
|
2012-07-05 19:12:15 +02:00
|
|
|
color: @gray;
|
2011-11-17 08:58:36 +01:00
|
|
|
}
|