mediawiki-extensions-Cite/modules/ext.cite.styles.css
Amire80 1b1350491f Don't allow a reference that includes a group name to break in the end of the line
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
2016-03-19 13:55:04 +02:00

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;
}