ckeditor-caption.css in CKEditor for WYSIWYG Module 8
Same filename and directory in other branches
Caption: default styling for displaying image captions.
File
css/ckeditor-caption.cssView source
- /**
- * @file
- * Caption: default styling for displaying image captions.
- */
-
- div.caption-inner {
- border: 1px solid #CCC;
- padding: 4px;
- background: #F3F3F3;
- font-size: 0.857em; /* assuming you have a base font size of 14px, this is 12px */
- text-align: center;
- }
-
- div.caption p {
- margin: .25em 0;
- }
-
- div.caption img,
- div.caption object {
- margin-bottom: 5px;
- display: block;
- }
-
- /** aligned captions **/
- div.caption-left {
- float: left;
- margin: 10px 10px 10px 0;
- }
-
- div.caption-right {
- float: right;
- margin: 10px 0 10px 10px;
- }
-
- div.caption-center {
- display: block;
- text-align: center;
- }
-
- div.caption-center .caption-inner {
- display: inline-block;
- }