]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blob - extensions/Cite/modules/ext.cite.styles.css
MediaWiki 1.30.2
[autoinstallsdev/mediawiki.git] / extensions / Cite / modules / ext.cite.styles.css
1 .mw-cite-backlink,
2 .cite-accessibility-label {
3         -moz-user-select: none;
4         -webkit-user-select: none;
5         -ms-user-select: none;
6         user-select: none;
7 }
8
9 .mw-references-columns {
10         -webkit-column-width: 30em;
11         -moz-column-width: 30em;
12         column-width: 30em;
13 }
14
15 /* Avoid elements from breaking between columns */
16 .mw-references-columns li {
17         -webkit-column-break-inside: avoid;
18         page-break-inside: avoid;
19         break-inside: avoid-column;
20 }
21
22 sup.reference {
23         /* Isolation to fix references in case of RTL words at the end of a reference */
24         unicode-bidi: -moz-isolate;
25         unicode-bidi: -webkit-isolate;
26         unicode-bidi: isolate;
27
28         /* Don't allow a reference that includes a group name
29         to break in the end of the line */
30         white-space: nowrap;
31 }
32
33 /* Highlight clicked reference in blue to help navigation */
34 ol.references li:target,
35 sup.reference:target {
36         background-color: #def; /* fallback */
37         background-color: rgba( 0, 127, 255, 0.133 );
38 }
39
40 /* Make cite errors "strong" */
41 .mw-ext-cite-error {
42         font-weight: bold;
43         /* For the case that the error is embedded in an element with a different direction */
44         unicode-bidi: embed;
45 }