MediaWiki:Common.less/references.less: Difference between revisions
Jump to navigation
Jump to search
(Created page with "// <pre> →================== references ==================: // Small reference list // apply to all <references/> ol.references, // apply to {{Reflist}} .reflist { font-size: 90%; } .reflist { list-style-type: decimal; } .reflist .references { font-size: 100%; // inherit from .reflist instead list-style-type: inherit; } // for {{Notelist}} .reflist-lower-alpha { list-style-type: lower-alpha; } // refs background when targetting refs ol.reference...") |
(No difference)
|
Latest revision as of 23:39, 4 October 2022
//
/* ==================
references
================== */
// Small reference list
// apply to all
ol.references,
// apply to
.reflist {
font-size: 90%;
}
.reflist {
list-style-type: decimal;
}
.reflist .references {
font-size: 100%;
// inherit from .reflist instead
list-style-type: inherit;
}
// for
.reflist-lower-alpha {
list-style-type: lower-alpha;
}
// refs background when targetting refs
ol.references li:target,
sup.reference:target {
background-color: var(--body-light);
}
// Hide certain text (namely quote parameters) from the references section to
// shorten it and make it readable
.hideQuotes .refhide {
display: none;
}