Jump to content

Template:Reflist/styles.css: Difference between revisions

From TnPedia
No edit summary
No edit summary
Line 1: Line 1:
.reflist {
.reflist {
font-size: 90%;            /* Default font-size */
font-size: 90%;             
margin-bottom: 0.5em;
margin-bottom: 0.5em;
list-style-type: decimal;
list-style-type: decimal;
Line 6: Line 6:


.reflist .references {
.reflist .references {
font-size: 100%;          /* Reset font-size when nested in div.reflist */
font-size: 100%;           
margin-bottom: 0;          /* Avoid double margin when nested in div.reflist */
margin-bottom: 0;           
list-style-type: inherit;  /* Enable custom list style types */
list-style-type: inherit;   
}
}


/* columns-2 and columns-3 are legacy for "2 or more" column view from when the
* template was implemented with column-count.
*/
.reflist-columns-2 {
.reflist-columns-2 {
column-width: 30em;
column-width: 30em;

Revision as of 11:56, 20 March 2022

.reflist { font-size: 90%; margin-bottom: 0.5em; list-style-type: decimal; }

.reflist .references { font-size: 100%; margin-bottom: 0; list-style-type: inherit; }

.reflist-columns-2 { column-width: 30em; }

.reflist-columns-3 { column-width: 25em; }