comparison core/themes/bartik/css/components/captions.css @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
children 1fec387a4317
comparison
equal deleted inserted replaced
-1:000000000000 0:4c8ae668cc8c
1 /* -------------- Captions -------------- */
2 .caption {
3 margin-bottom: 1.2em;
4 }
5 .caption > * {
6 background: #F3F3F3;
7 padding: 0.5ex;
8 border: 1px solid #CCC;
9 }
10 .caption > figcaption {
11 border: 1px solid #CCC;
12 border-top: none;
13 padding-top: 0.5ex;
14 font-size: small;
15 text-align: center;
16 }
17
18 /* Override Bartik's default blockquote and pre styles when captioned. */
19 .caption-pre > pre,
20 .caption-blockquote > blockquote {
21 margin: 0;
22 }
23 .caption-blockquote > figcaption::before {
24 content: "— ";
25 }
26 .caption-blockquote > figcaption {
27 text-align: left; /* LTR */
28 }
29 [dir="rtl"] .caption-blockquote > figcaption {
30 text-align: right;
31 }