mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-30 00:55:00 +00:00
17 lines
467 B
CSS
17 lines
467 B
CSS
|
/*!
|
||
|
* 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;
|
||
|
}
|