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