Template:Reflist/styles.css

From Covtlepedia
Revision as of 14:20, 10 October 2025 by Johanna (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
.reflist {
  list-style-type: decimal;
  margin-bottom: 0.5em;
}

@media screen {
  .reflist {
    font-size: 0.9em;          /* Make default font smaller only on screens. */
  }
}

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

.reflist-columns {
  margin-top: 0.3em;           /* Reset top margin for column-embedded lists. */
}

.reflist-columns ol {
  margin-top: 0;
}

.reflist-columns li {
  break-inside: avoid-column;  /* Avoid elements breaking between columns. */
}

.reflist-upper-alpha {
  list-style-type: upper-alpha;
}

.reflist-upper-roman {
  list-style-type: upper-roman;
}

.reflist-lower-alpha {
  list-style-type: lower-alpha;
}

.reflist-lower-greek {
  list-style-type: lower-greek;
}

.reflist-lower-roman {
  list-style-type: lower-roman;
}