mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-06 04:08:22 +01:00
scss: move Figures from _type to _images
This commit is contained in:
parent
078c7cac8d
commit
677b7bd1c0
@ -32,3 +32,23 @@
|
|||||||
.img-circle {
|
.img-circle {
|
||||||
border-radius: 50%;
|
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;
|
||||||
|
}
|
||||||
|
@ -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;
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user