mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-12-18 09:40:49 +00:00
04ac55ed52
I think this change causes too many issues on non-LTR wikis (see the associated tasks) to be acceptable in the current form. Maybe it should be redone to apply to RTL text only if it's worth it there (apologies, but I don't quite understand the issue). This reverts commite9c1521fca
and commit59ef3c8678
(which was the previous attempt to fix it and caused different issues). Bug: T108493 Bug: T110057 Change-Id: I205400c59a342dcc4cdf89791bc1c761805cd2a8
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);
|
|
}
|