Mercurial > hg > isophonics-drupal-site
view core/themes/bartik/css/components/captions.css @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | af1871eacc83 |
children |
line wrap: on
line source
/* -------------- Captions -------------- */ .caption { margin-bottom: 1.2em; } .caption > * { padding: 0.5ex; border: 1px solid #ccc; background: #f3f3f3; } .caption > figcaption { padding-top: 0.5ex; text-align: center; border: 1px solid #ccc; border-top: none; font-size: small; } /* 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; }