diff --git a/core/themes/bartik/css/components/captions.css b/core/themes/bartik/css/components/captions.css index 03ad4799e9..d741c787ec 100644 --- a/core/themes/bartik/css/components/captions.css +++ b/core/themes/bartik/css/components/captions.css @@ -3,21 +3,21 @@ margin-bottom: 1.2em; } .caption > * { - padding: 0.5ex; + padding: 0.5em; border: 1px solid #ccc; background: #f3f3f3; } .caption > figcaption { - padding-top: 0.5ex; + padding-top: 0.5em; text-align: center; border: 1px solid #ccc; border-top: none; - font-size: small; + font-size: 0.85em; } /* Override Bartik's default blockquote and pre styles when captioned. */ -.caption-pre > pre, -.caption-blockquote > blockquote { +.caption > pre, +.caption > blockquote { margin: 0; } .caption-blockquote > figcaption::before {