Template:Division champions block/styles.css: Difference between revisions

Use wiki-style champions tables
Add explicit spacing before podium player names
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
.mw-parser-output .sw-podium-table {
.sw-podium-table {
   width: 100%;
   width: auto;
   margin: 0 0 1em;
   margin: 0 0 1em;
}
}


.mw-parser-output .sw-podium-table th,
.sw-podium-table .sw-podium-place {
.mw-parser-output .sw-podium-table td {
   width: 4.5em;
   vertical-align: middle;
  white-space: nowrap;
}
}


.mw-parser-output .sw-podium-table th:first-child,
.sw-podium-team {
.mw-parser-output .sw-podium-table td:first-child,
   display: inline;
.mw-parser-output .sw-podium-place {
   width: 3.5em;
  text-align: center;
}
}


.mw-parser-output .sw-podium-team {
.sw-podium-team-players {
  display: inline-flex;
   margin-left: 0.25em;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}
 
.mw-parser-output .sw-podium-team-logo {
  display: inline-flex;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  overflow: hidden;
  background: #eaecf0;
  flex: 0 0 24px;
}
 
.mw-parser-output .sw-podium-team-logo a,
.mw-parser-output .sw-podium-team-logo img {
  display: block;
  width: 100%;
  height: 100%;
}
 
.mw-parser-output .sw-podium-team-logo img {
  object-fit: cover;
}
 
.mw-parser-output .sw-podium-team-players {
   color: #54595d;
  font-size: 0.92em;
}
}