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