mediawiki-extensions-Visual.../modules/ve-mw/ce/styles/ve.ce.MWNumberedExternalLinkNode.css

17 lines
467 B
CSS
Raw Normal View History

/*!
* VisualEditor ContentEditable MediaWiki MWNumberedExternalLinkNode styles.
*
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
/*csslint regex-selectors:false */
.ve-ce-surface {
counter-reset: ve-ce-mwNumberedExternalLinkNode;
}
a[rel~="mw:ExtLink"]:empty:after {
content: "[" counter(ve-ce-mwNumberedExternalLinkNode) "]";
counter-increment: ve-ce-mwNumberedExternalLinkNode;
}