diff -u b/core/themes/bartik/css/components/captions.css b/core/themes/bartik/css/components/captions.css --- b/core/themes/bartik/css/components/captions.css +++ b/core/themes/bartik/css/components/captions.css @@ -2,25 +2,24 @@ * @file * Bartik styling for Captions. */ + .caption { margin-bottom: 1.2em; } .caption > * { background: #f3f3f3; - padding: 0.5ex; + padding: 0.25em; border: 1px solid #ccc; } .caption > figcaption { - border: 1px solid #ccc; border-top: none; - padding-top: 0.5ex; - font-size: small; + font-size: 0.85em; text-align: center; } /* 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 {