48,403
edits
Tag: Undo |
No edit summary |
||
| Line 462: | Line 462: | ||
font-size: 90%; | font-size: 90%; | ||
} | } | ||
/* Cite customizations for Parsoid | |||
* Once everything uses the one true parser these are just customizations | |||
*/ | |||
span[ rel="mw:referencedBy" ] { | |||
counter-reset: mw-ref-linkback 0; | |||
} | |||
span[ rel='mw:referencedBy' ] > a::before { | |||
content: counter( mw-ref-linkback, lower-alpha ); | |||
font-size: 80%; | |||
font-weight: bold; | |||
font-style: italic; | |||
} | |||
a[ rel="mw:referencedBy" ]::before { | |||
font-weight: bold; | |||
content: "^"; | |||
} | |||
span[ rel="mw:referencedBy" ]::before { | |||
content: "^ "; | |||
} | |||
/* These blocks need review after [[phab:T371839]] or related are complete */ | |||
.mw-ref > a[style~="mw-Ref"][data-mw-group=lower-alpha]::after { | |||
content: '[' counter( mw-Ref, lower-alpha ) ']'; | |||
} | |||
.mw-ref > a[style~="mw-Ref"][data-mw-group=upper-alpha]::after { | |||
content: '[' counter( mw-Ref, upper-alpha ) ']'; | |||
} | |||
.mw-ref > a[style~="mw-Ref"][data-mw-group=decimal]::after { | |||
content: '[' counter( mw-Ref, decimal ) ']'; | |||
} | |||
.mw-ref > a[style~="mw-Ref"][data-mw-group=lower-roman]::after { | |||
content: '[' counter( mw-Ref, lower-roman ) ']'; | |||
} | |||
.mw-ref > a[style~="mw-Ref"][data-mw-group=upper-roman]::after { | |||
content: '[' counter( mw-Ref, upper-roman ) ']'; | |||
} | |||
.mw-ref > a[style~="mw-Ref"][data-mw-group=lower-greek]::after { | |||
content: '[' counter( mw-Ref, lower-greek ) ']'; | |||
} | |||
/* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */ | /* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */ | ||
/* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */ | /* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */ | ||