Nodyn:Reflist/doc: Gwahaniaeth rhwng fersiynau

Cynnwys wedi'i ddileu Cynnwys wedi'i ychwanegu
Crëwyd tudalen newydd yn dechrau gyda '{{Documentation subpage}} <includeonly>{{High-risk|2,600,000+}}</includeonly> {{Ombox | type=notice | text = Columns are currently supported only by newer...'
 
Xqbot (sgwrs | cyfraniadau)
B Bot: Replace deprecated <source> tag and "enclose" parameter [https://lists.wikimedia.org/pipermail/wikitech-ambassadors/2020-April/002284.html]
 
Llinell 222:
The font size for all reference lists defaults to 90% of the standard size. To change it, add:
 
<sourcesyntaxhighlight lang="css">
ol.references,
div.reflist,
Llinell 228:
font-size: 90%;
}
</syntaxhighlight>
</source>
 
Change 90% to the desired size.
Llinell 235:
To disable columns, add:
 
<sourcesyntaxhighlight lang="css">
.references-column-count, .references-column-width {
column-count: 1 !important;
Llinell 244:
-webkit-column-width: auto !important;
}
</syntaxhighlight>
</source>
 
Similarly, to force all reference lists to a number of columns, change the number.
Llinell 251:
To add dividers (rules) between columns, add:
 
<sourcesyntaxhighlight lang="css">
.references-column-count, .references-column-width {
column-rule: 1px solid #aaa;
Llinell 257:
-webkit-column-rule: 1px solid #aaa;
}
</syntaxhighlight>
</source>
 
You can alter the appearance of the dividers by changing the values.