mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-15 10:59:56 +00:00
1b1350491f
A reference that has a group name appears as "[group 1]". Because of the added space in the middle, this can break in the end of a line. white-space: nowrap prevents it. Change-Id: Icfbc8b7e37b77b93b621e424d1f4e1759ac644cd
31 lines
719 B
CSS
31 lines
719 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;
|
|
}
|