2012-06-28 21:46:45 -07:00
|
|
|
//
|
|
|
|
// Thumbnails
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
|
2012-04-01 00:59:34 -07:00
|
|
|
// The actual thumbnail (can be `a` or `div`)
|
2011-12-19 22:58:56 -08:00
|
|
|
.thumbnail {
|
|
|
|
display: block;
|
2011-12-21 18:21:55 -06:00
|
|
|
padding: 4px;
|
2012-11-30 14:45:25 -08:00
|
|
|
line-height: @line-height-base;
|
2011-12-19 22:58:56 -08:00
|
|
|
border: 1px solid #ddd;
|
2012-11-30 14:45:25 -08:00
|
|
|
border-radius: @border-radius-base;
|
2012-07-05 10:12:15 -07:00
|
|
|
.box-shadow(0 1px 3px rgba(0,0,0,.055));
|
2012-08-15 14:49:55 -07:00
|
|
|
.transition(all .2s ease-in-out);
|
2011-12-19 22:58:56 -08:00
|
|
|
}
|
|
|
|
// Add a hover state for linked versions only
|
|
|
|
a.thumbnail:hover {
|
2012-11-30 14:37:24 -08:00
|
|
|
border-color: @link-color;
|
2011-12-19 22:58:56 -08:00
|
|
|
.box-shadow(0 1px 4px rgba(0,105,214,.25));
|
|
|
|
}
|
2012-04-01 00:59:34 -07:00
|
|
|
|
2011-12-19 22:58:56 -08:00
|
|
|
// Images and captions
|
|
|
|
.thumbnail > img {
|
|
|
|
display: block;
|
2011-12-21 18:21:55 -06:00
|
|
|
max-width: 100%;
|
2012-01-28 22:48:25 -08:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2011-12-19 22:58:56 -08:00
|
|
|
}
|
|
|
|
.thumbnail .caption {
|
|
|
|
padding: 9px;
|
2012-07-05 10:12:15 -07:00
|
|
|
color: @gray;
|
2011-11-16 23:58:36 -08:00
|
|
|
}
|