User:Cipher/Template:TCG Set List/styles.css

.tcg-set-table {
  border: 3px solid;
  border-spacing: 2px;
  border-radius: 10px;
  white-space: nowrap;

  /* Undo Minerva styling */
  display: table;
  border-collapse: separate;
}

/* Rounded corners - should be 10px minus .tcg-set-table's border and border-spacing values */
.tcg-set-table thead tr:first-child > th:first-child   { border-top-left-radius:     5px; }
.tcg-set-table thead tr:first-child > th:last-child    { border-top-right-radius:    5px; }
.tcg-set-table tbody tr:last-child > :first-child      { border-bottom-left-radius:  5px; }
.tcg-set-table tbody tr:last-child > :last-child       { border-bottom-right-radius: 5px; }

/* Header styling */
.tcg-set-table thead {
  position: sticky;
  top: 0;
}

.tcg-set-table th img,
.tcg-set-table td img {
  max-width: unset !important; /* undo Minerva styling */
}

/* Body styling */
.tcg-set-table tbody td {
  background-color: #fff;
}

/* Title styling (optional) */
.tcg-setname     { float: left; font-size: large; line-height: 32px; padding: 0 .5em 0 3px; }
.tcg-setsymbol   { float: right; background: #fff; border-radius: 6px; height: 28px; margin-left: .5em; padding: 2px .5em; }

/* Table cell styling */
.tcg-cardnum    { text-align: center; }
.tcg-regmark    { text-align: center; }
.tcg-cardname   { text-align: left; }
.tcg-cardtype   { text-align: center; }
.tcg-rarity     { text-align: center; }
.tcg-detail     { text-align: left; }

/* Styles for TCG Type template - only for use with TCG Set List templates */
.tcg-type                   { white-space: nowrap; }
.tcg-type span.blacklinks   { font-size: .875rem; font-weight: bold; }
.tcg-trainertype            { font-size: .875rem; font-weight: bold; max-width: 5em; min-height: 26px; position: absolute; top: 0; bottom: 0; left: 0; right: 0; }

.tcg-set-table .tcg-pocket-rarity-symbol {
  /* white-space: nowrap alone does not increase the column width */
  display: inline-block;
  width: max-content;
}

/* Footer styling */
.tcg-set-table tfoot tr th {
  border-radius: 0 0 5px 5px;
  height: .5em;
}