From Afropedia.world
![]() imported>Kofi (1 revision imported) m |
![]() wikisource>Xover (Add .prp-pages-output wrapper to make over-specific descendant selectors work.) |
||
Line 1: | Line 1: | ||
<div class="reflist" style=" | <templatestyles src="Smallrefs/styles.css" /><!-- | ||
{{#tag:references|{{{refx|}}}|group={{{group|}}}}} | |||
</div><noinclude> | # classes: | ||
# * prp-pages-output is added to classes to allow the scoped Index-specific TemplateStyles to also apply to these references | |||
# * wst-smallrefs-ruled adds a "standard" top-rule | |||
# add a blank line before the div to prevent merging with ends of tables, etc | |||
--> | |||
<div class="prp-pages-output"><!-- | |||
This extra div is needed because Index Styles are | |||
over-specified with descendant selectors: .wst-smallrefs | |||
has to be a descendant, not sibling, of .prp-pages-output | |||
which in turn has to be a descendant of mw-parser-output. | |||
It's a bad design, but that's where we're at. | |||
--><div class="reflist wst-smallrefs {{#if:{{{rule|}}}|wst-smallrefs-ruled}} {{{class|}}}" style="{{#if:{{{fs|{{{1|}}}}}}|font-size:{{{fs|{{{1|83%}}}}}};}} {{#if:{{{lh|{{{2|}}}}}}|line-height:{{{lh|{{{2|1.25}}}}}};}} {{#if: {{{columns|}}}|column-count:{{{columns}}};}}"> | |||
{{#tag:references|{{{refs|{{{refx|}}}}}}|group={{{group|}}}}} | |||
</div> | |||
</div>{{#if:{{{fs|{{{1|}}}}}}|[[Category:Pages using smallrefs with font-size]]}}{{#if:{{{lh|{{{2|}}}}}}|[[Category:Pages using smallrefs with line-height]]}}<noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |