MediaWiki:Common.less/references.less: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Created page with "→================== 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.references li:targ...") |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
/* ================== 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 refsol.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;} |
|||
/* ================== |
|||
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.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; |
|||
} |
Revision as of 17:12, 17 October 2024
/* ================== 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 refsol.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;}