2012-06-28 21:46:45 -07:00
|
|
|
//
|
|
|
|
// Thumbnails
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
|
2013-08-18 19:24:10 -07:00
|
|
|
// Mixin and adjust the regular image class
|
2013-01-17 20:18:03 -08:00
|
|
|
.thumbnail {
|
2013-08-18 19:24:10 -07:00
|
|
|
.img-thumbnail();
|
|
|
|
display: block; // Override the inline-block from `.img-thumbnail`
|
2013-08-26 17:48:32 -07:00
|
|
|
margin-bottom: @line-height-computed;
|
2013-08-18 19:24:10 -07:00
|
|
|
|
|
|
|
> img {
|
|
|
|
.img-responsive();
|
2013-10-30 10:00:28 +01:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2013-08-18 19:24:10 -07:00
|
|
|
}
|
|
|
|
|
2013-11-01 22:09:01 +01:00
|
|
|
// Add a hover state for linked versions only
|
|
|
|
a&:hover,
|
|
|
|
a&:focus,
|
|
|
|
a&.active {
|
|
|
|
border-color: @link-color;
|
|
|
|
}
|
2012-04-01 00:59:34 -07:00
|
|
|
|
2013-11-01 22:09:01 +01:00
|
|
|
// Image captions
|
|
|
|
.caption {
|
|
|
|
padding: @thumbnail-caption-padding;
|
|
|
|
color: @thumbnail-caption-color;
|
|
|
|
}
|
2011-11-16 23:58:36 -08:00
|
|
|
}
|