aboutsummaryrefslogtreecommitdiff
path: root/scss/_type.scss
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-08-09 21:42:47 -0700
committerMark Otto <[email protected]>2015-08-09 21:42:47 -0700
commit08d6dc5b71875d1a91fc6e6d024f326229c35713 (patch)
tree44d03ed1073f70f312b34360597e31c8d269d5f7 /scss/_type.scss
parent253bb378e213ec184d66ecfccb5a78a0d5ee08d7 (diff)
downloadbootstrap-08d6dc5b71875d1a91fc6e6d024f326229c35713.tar.xz
bootstrap-08d6dc5b71875d1a91fc6e6d024f326229c35713.zip
add basic figure support
Diffstat (limited to 'scss/_type.scss')
-rw-r--r--scss/_type.scss17
1 files changed, 17 insertions, 0 deletions
diff --git a/scss/_type.scss b/scss/_type.scss
index ee6031d7d..c94c747ff 100644
--- a/scss/_type.scss
+++ b/scss/_type.scss
@@ -187,3 +187,20 @@ mark,
}
}
}
+
+//
+// Figures
+//
+
+.figure {
+ > img {
+ @extend .img-responsive;
+ line-height: 1;
+ margin-bottom: ($spacer-y / 2);
+ }
+}
+
+.figure-caption {
+ font-size: 90%;
+ color: $gray-light;
+}