mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-11 05:56:11 +00:00
c139b3c2cb
This prevents the highlight for a centred image being full width. Change-Id: I4d5a46766276e36f5720f330a5a856fe2906cd72
71 lines
1.2 KiB
CSS
71 lines
1.2 KiB
CSS
/*!
|
|
* VisualEditor ContentEditable MediaWiki Node styles.
|
|
*
|
|
* @copyright 2011-2013 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
/* ve.ce.MWTransclusionNode */
|
|
|
|
.ve-ce-mwTransclusionInlineNode {
|
|
display: inline-block;
|
|
}
|
|
|
|
/* HACK: Hide Ref errors in templates */
|
|
.ve-ce-mwTransclusionNode .mw-ext-cite-error {
|
|
display: none;
|
|
}
|
|
|
|
/* HACK: Fake superscript style for references generated as spans in templates */
|
|
.ve-ce-mwTransclusionNode span.reference {
|
|
vertical-align: super;
|
|
font-size: smaller;
|
|
}
|
|
|
|
/* ve.ce.MWReferenceListNode */
|
|
|
|
.ve-ce-mwReferenceListNode .ve-ce-generated-wrapper {
|
|
display: inline-block;
|
|
}
|
|
|
|
.ve-ce-mwReferenceListNode-muted {
|
|
font-style: italic;
|
|
color: #777;
|
|
}
|
|
|
|
/* ve-ce-mwReferenceNode */
|
|
|
|
.ve-ce-mwReferenceNode-missingref {
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* ve.ce.MWInlineImageNode */
|
|
|
|
.ve-ce-mwInlineImageNode {
|
|
display: inline-block;
|
|
}
|
|
|
|
/* ve.ce.MWBlockImageNode */
|
|
|
|
.ve-ce-mwBlockImageNode-inner {
|
|
display: inline-block;
|
|
}
|
|
|
|
/* ve.ce.MWAlienExtensionNode */
|
|
|
|
.ve-ce-mwAlienExtensionNode {
|
|
display: inline-block;
|
|
}
|
|
|
|
/* ve.ce.MWMathNode */
|
|
|
|
.ve-ce-mwMathNode {
|
|
display: inline-block;
|
|
}
|
|
|
|
/* ve.ce.MWHieroNode */
|
|
|
|
.ve-ce-mwHieroNode {
|
|
display: table;
|
|
}
|