Skip to content

Commit

Permalink
Clean up formatting and comments in stylesheets
Browse files Browse the repository at this point in the history
  • Loading branch information
occupant committed Sep 23, 2024
1 parent 7a02b3c commit 8ce962b
Show file tree
Hide file tree
Showing 10 changed files with 220 additions and 209 deletions.
13 changes: 6 additions & 7 deletions css/ckeditor5.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,33 @@
* @file
* Approximate CLF's style in CKEditor instances on the Drupal back-end.
*/
.ck-content {
/* Captions */
/* Override clf's default blockquote and pre styles when captioned. */
}
.ck-content .caption > * {
background: #f3f3f3;
padding: 0.5ex;
border: 1px solid #ccc;
}

.ck-content .caption > figcaption {
border: 1px solid #ccc;
border-top: none;
padding-top: 0.5ex;
font-size: small;
text-align: center;
}

.ck-content .caption-pre > pre,
.ck-content .caption-blockquote > blockquote {
margin: 0;
}

.ck-content .caption-blockquote > figcaption::before {
content: "— ";
}

.ck-content .caption-blockquote > figcaption {
text-align: left;
}
.ck-content [dir=rtl] .caption-blockquote > figcaption {

.ck-content [dir="rtl"] .caption-blockquote > figcaption {
text-align: right;
}

/*# sourceMappingURL=ckeditor5.css.map */
Loading

0 comments on commit 8ce962b

Please sign in to comment.