mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-15 19:10:15 +00:00
05cb5cc1a0
Move the JS which is purely for accessibility purposes into a separate JS RL module named ext.cite.a11y. Move all pure CSS, which is not dependant on accompanying JS into a separate ext.cite.styles module Bug: T101559 Change-Id: I58adcfbcf9af2bb3b6d5dabb6c38c42af78e0416
22 lines
528 B
CSS
22 lines
528 B
CSS
.mw-cite-backlink,
|
|
.cite-accessibility-label {
|
|
-moz-user-select: none;
|
|
-webkit-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
/* Isolation to fix references in case of RTL words at the end of a reference */
|
|
sup.reference {
|
|
unicode-bidi: -moz-isolate;
|
|
unicode-bidi: -webkit-isolate;
|
|
unicode-bidi: isolate;
|
|
}
|
|
|
|
/* Highlight clicked reference in blue to help navigation */
|
|
ol.references li:target,
|
|
sup.reference:target {
|
|
background-color: #def; /* fallback */
|
|
background-color: rgba(0, 127, 255, 0.133);
|
|
}
|