mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-16 03:23:22 +00:00
52293b1749
This is needed when the error appears in an element with a direction that is different from the UI language. Change-Id: I583c9cc30f5bec24ab92e97ab938463ea0e45c15
33 lines
829 B
CSS
33 lines
829 B
CSS
.mw-cite-backlink,
|
|
.cite-accessibility-label {
|
|
-moz-user-select: none;
|
|
-webkit-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
sup.reference {
|
|
/* Isolation to fix references in case of RTL words at the end of a reference */
|
|
unicode-bidi: -moz-isolate;
|
|
unicode-bidi: -webkit-isolate;
|
|
unicode-bidi: isolate;
|
|
|
|
/* Don't allow a reference that includes a group name
|
|
to break in the end of the line */
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* 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);
|
|
}
|
|
|
|
/* Make cite errors "strong" */
|
|
.mw-ext-cite-error {
|
|
font-weight: bold;
|
|
/* For the case that the error is embedded in an element with a different direction */
|
|
unicode-bidi: embed;
|
|
}
|