diff options
Diffstat (limited to 'public/stylesheets/vendors/bootstrap/thumbnails.less')
-rwxr-xr-x | public/stylesheets/vendors/bootstrap/thumbnails.less | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/public/stylesheets/vendors/bootstrap/thumbnails.less b/public/stylesheets/vendors/bootstrap/thumbnails.less new file mode 100755 index 0000000..1adee9e --- /dev/null +++ b/public/stylesheets/vendors/bootstrap/thumbnails.less @@ -0,0 +1,31 @@ +// +// Thumbnails +// -------------------------------------------------- + + +// Mixin and adjust the regular image class +.thumbnail { + .img-thumbnail(); + display: block; // Override the inline-block from `.img-thumbnail` + + > img { + .img-responsive(); + } +} + + +// Add a hover state for linked versions only +a.thumbnail:hover, +a.thumbnail:focus { + border-color: @link-color; +} + +// Images and captions +.thumbnail > img { + margin-left: auto; + margin-right: auto; +} +.thumbnail .caption { + padding: @thumbnail-caption-padding; + color: @thumbnail-caption-color; +} |