mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-12-01 01:56:20 +00:00
fc1865780d
All mock screenshots on https://de.wikipedia.org/wiki/Wikipedia:Technische_W%C3%BCnsche/Topw%C3%BCnsche/Erweiterung_der_Einzelnachweise show this extra dot. Note the numbering scheme "1." and "1.1" (without the dot) was not a mistake. It's not uncommon to only have the extra dot on the first level. However, I feel the scheme "1." and "1.1." might be a little more consistent and less surprising. Change-Id: I0dc467755926f82d88a48fb7594af0bde8bbee21
81 lines
1.8 KiB
CSS
81 lines
1.8 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;
|
|
}
|
|
|
|
ol.references {
|
|
/* Resetting *any* counter on an <ol> element messes the build-in numbering in Firefox up.
|
|
Explicitely resetting the build-in "list-item" counter fixes this. */
|
|
counter-reset: mw-ref-extends-parent list-item;
|
|
}
|
|
|
|
ol.references > li {
|
|
counter-increment: mw-ref-extends-parent;
|
|
counter-reset: mw-ref-extends-child;
|
|
}
|
|
|
|
.mw-extended-references {
|
|
list-style: none;
|
|
}
|
|
|
|
.mw-extended-references > li:before {
|
|
counter-increment: mw-ref-extends-child;
|
|
content: counter( mw-ref-extends-parent, decimal ) '.' counter( mw-ref-extends-child, decimal ) '. ';
|
|
}
|
|
|
|
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;
|
|
}
|