Copy external link numbering from content.parsoid.less
Change-Id: I308d06ada35e63d81db8d034717f650d54aafc78
This commit is contained in:
parent
4d17797186
commit
8dd2544c0e
|
@ -51,3 +51,15 @@ a {
|
|||
background: none !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
// Numbered external links, copied from content.parsoid.less
|
||||
// TODO: Separate theme-agnostic rules from that module
|
||||
// so we can load it here.
|
||||
.mw-parser-output {
|
||||
counter-reset: mw-numbered-ext-link;
|
||||
|
||||
a[rel~='mw:ExtLink']:empty:after {
|
||||
content: '[' counter( mw-numbered-ext-link ) ']';
|
||||
counter-increment: mw-numbered-ext-link;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue