Difference between revisions of "Template:Reflist/styles.css"

From TnPedia
Jump to navigation Jump to search
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 14: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; }