diff --git a/scss/_images.scss b/scss/_images.scss index 4f1ce65077345d93fa4c75fff82e9a5bd07448dc..ac481d58d7508732b1141bec16b11a43b54780f5 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 102b6a5a407154037bc645301a7a1356188b9dc5..23ed5404027459d1d129213f2f7723f2aac963d8 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; -}