diff --git a/scss/_images.scss b/scss/_images.scss index 4f1ce65077..ac481d58d7 100644 --- a/scss/_images.scss +++ b/scss/_images.scss @@ -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; +} diff --git a/scss/_type.scss b/scss/_type.scss index 102b6a5a40..23ed540402 100644 --- a/scss/_type.scss +++ b/scss/_type.scss @@ -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; -}