mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 16:44:51 +00:00
9f1179938c
The styling of the image thumbnails should be controlled at the skin level, not by the generic VE styles. Moving the thumb/figure styles from ve.ce.Node.css to ViewPageTarget-shared.css. Otherwise no changes to the styles themselves. Also adding minerva (the mobile skin) to the list of supported skins. Bug: 60542 Change-Id: I67ab6d5b91cee7e587f61df26e7dae74c1068788
77 lines
1.4 KiB
CSS
77 lines
1.4 KiB
CSS
/*!
|
|
* VisualEditor ContentEditable MediaWiki Node styles.
|
|
*
|
|
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
/*csslint regex-selectors:false, overqualified-elements:false */
|
|
|
|
/* 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.MWAlienExtensionNode */
|
|
|
|
.ve-ce-mwAlienExtensionNode {
|
|
display: inline-block;
|
|
}
|
|
|
|
/* ve.ce.MWMathNode */
|
|
|
|
.ve-ce-mwMathNode {
|
|
display: inline-block;
|
|
}
|
|
|
|
/* ve.ce.MWHieroNode */
|
|
|
|
.ve-ce-mwHieroNode {
|
|
display: table;
|
|
}
|
|
|
|
/* ve.ce.MWNumberedExternalLinkNode */
|
|
|
|
.ve-ce-surface {
|
|
counter-reset: ve-ce-mwNumberedExternalLinkNode;
|
|
}
|
|
|
|
a[rel~="mw:ExtLink"]:empty:after {
|
|
content: "[" counter(ve-ce-mwNumberedExternalLinkNode) "]";
|
|
counter-increment: ve-ce-mwNumberedExternalLinkNode;
|
|
}
|