]> iEval git - mindcoding-template-patches.git/blobdiff - mindcoding-template/less/thumbnails.less
Adds Bootstrap, header and footer
[mindcoding-template-patches.git] / mindcoding-template / less / thumbnails.less
diff --git a/mindcoding-template/less/thumbnails.less b/mindcoding-template/less/thumbnails.less
new file mode 100755 (executable)
index 0000000..a09aa9b
--- /dev/null
@@ -0,0 +1,31 @@
+//
+// Thumbnails
+// --------------------------------------------------
+
+
+// Mixin and adjust the regular image class
+.thumbnail {
+  .img-thumbnail();
+  display: block; // Override the inline-block from `.img-thumbnail`
+  margin-bottom: @line-height-computed;
+
+  > img {
+    .img-responsive();
+    margin-left: auto;
+    margin-right: auto;
+  }
+}
+
+
+// Add a hover state for linked versions only
+a.thumbnail:hover,
+a.thumbnail:focus,
+a.thumbnail.active {
+  border-color: @link-color;
+}
+
+// Image captions
+.thumbnail .caption {
+  padding: @thumbnail-caption-padding;
+  color: @thumbnail-caption-color;
+}
This page took 0.022087 seconds and 4 git commands to generate.