1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-11 08:04:59 +02:00

scss: move Figures from _type to _images

This commit is contained in:
O'meid
2015-08-26 23:08:47 +10:00
committed by Mark Otto
parent 078c7cac8d
commit 677b7bd1c0
2 changed files with 20 additions and 20 deletions

View File

@@ -32,3 +32,23 @@
.img-circle {
border-radius: 50%;
}
//
// Figures
//
.figure {
// Ensures the caption's text aligns with the image.
display: inline-block;
> img {
@extend .img-fluid;
margin-bottom: ($spacer-y / 2);
line-height: 1;
}
}
.figure-caption {
font-size: 90%;
color: $gray-light;
}

View File

@@ -162,23 +162,3 @@ mark,
}
}
}
//
// Figures
//
.figure {
// Ensures the caption's text aligns with the image.
display: inline-block;
> img {
@extend .img-fluid;
margin-bottom: ($spacer-y / 2);
line-height: 1;
}
}
.figure-caption {
font-size: 90%;
color: $gray-light;
}