Drupal 8.0.0 beta 12. More info: https://www.drupal.org/node/2514176
This commit is contained in:
commit
9921556621
13277 changed files with 1459781 additions and 0 deletions
31
core/themes/bartik/css/components/captions.css
Normal file
31
core/themes/bartik/css/components/captions.css
Normal file
|
@ -0,0 +1,31 @@
|
|||
/* -------------- 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;
|
||||
}
|
Reference in a new issue