Mercurial > hg > isophonics-drupal-site
view themes/isobartik/css/components/captions.css @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | e11175134f4e |
children |
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; }