Mercurial > hg > isophonics-drupal-site
view core/themes/bartik/css/components/captions.css @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children | af1871eacc83 |
line wrap: on
line source
/* -------------- Captions -------------- */ .caption { margin-bottom: 1.2em; } .caption > * { background: #f3f3f3; padding: 0.5ex; border: 1px solid #ccc; } .caption > figcaption { border: 1px solid #ccc; border-top: none; padding-top: 0.5ex; font-size: small; text-align: center; } /* Override Bartik's default blockquote and pre styles when captioned. */ .caption-pre > pre, .caption-blockquote > blockquote { margin: 0; } .caption-blockquote > figcaption::before { content: "— "; } .caption-blockquote > figcaption { text-align: left; /* LTR */ } [dir="rtl"] .caption-blockquote > figcaption { text-align: right; }