mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-24 23:05:31 +00:00
a603ef420f
There is almost never a situation where this is desirable, yet it happens quite a lot due to table headers etc having bold styling. It confuses editors and tends to be less readable. These style rules have been in en.wp:MediaWiki:Common.css for over 10 years or so, so probably a keeper. Change-Id: If3d12383853a83d8ef14f1ec54c8c381b6c8f6a2
61 lines
1.3 KiB
CSS
61 lines
1.3 KiB
CSS
.mw-cite-backlink,
|
|
.cite-accessibility-label {
|
|
-moz-user-select: none;
|
|
-webkit-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.mw-references-columns {
|
|
-webkit-column-width: 30em;
|
|
-moz-column-width: 30em;
|
|
column-width: 30em;
|
|
}
|
|
|
|
/* Avoid elements from breaking between columns */
|
|
.mw-references-columns li {
|
|
-webkit-column-break-inside: avoid;
|
|
page-break-inside: avoid;
|
|
break-inside: avoid-column;
|
|
}
|
|
|
|
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;
|
|
|
|
/* Do not inherit bold or italic */
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
/* Highlight clicked reference in blue to help navigation */
|
|
ol.references li:target,
|
|
sup.reference:target {
|
|
background-color: #eaf3ff;
|
|
}
|
|
|
|
/* 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;
|
|
}
|
|
|
|
/* @noflip */
|
|
.mw-cite-dir-ltr .reference-text {
|
|
direction: ltr;
|
|
unicode-bidi: embed;
|
|
}
|
|
|
|
/* @noflip */
|
|
.mw-cite-dir-rtl .reference-text {
|
|
direction: rtl;
|
|
unicode-bidi: embed;
|
|
}
|