diff --git a/core/themes/bartik/css/components/captions.css b/core/themes/bartik/css/components/captions.css index fe171cc..a8b1d8f 100644 --- a/core/themes/bartik/css/components/captions.css +++ b/core/themes/bartik/css/components/captions.css @@ -1,6 +1,6 @@ /** * @file - * Bartik styling for Captions. + * Bartik styling for captions. */ .caption { @@ -15,11 +15,12 @@ box-sizing: border-box; } .caption > figcaption { - border-top: none; font-size: 0.85em; text-align: center; } - +.caption:not(.caption-pre) > figcaption { + border-top: none; +} /* Override Bartik's default blockquote and pre styles when captioned. */ .caption > pre, .caption > blockquote {