mediawiki-extensions-Visual.../modules/ve-mw/ce/styles/ve.ce.Node.css
Ed Sanders bdbae42b3e Fake superscript style for references generated as spans
This is a hack because Parsoid should just generate <sup>s.

Bug: 50978
Change-Id: I0c418b4f70640b8212d4a58a6f33a0821f7338c4
2013-07-16 16:41:16 +00:00

50 lines
1 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 strong.error,
.ve-ce-mwTransclusionNode span.error,
.ve-ce-mwTransclusionNode p.error,
.ve-ce-mwTransclusionNode div.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;
}