Jump to content

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

From Spike Wiki
Use wiki-table champions layout
Use wiki-style champions tables
Line 1: Line 1:
.mw-parser-output .sw-podium-table{
.mw-parser-output .sw-podium-table {
   width:100%;
   width: 100%;
   margin:0 0 1em;
   margin: 0 0 1em;
}
}
.mw-parser-output .sw-podium-table th,
.mw-parser-output .sw-podium-table td {
  vertical-align: middle;
}
.mw-parser-output .sw-podium-table th:first-child,
.mw-parser-output .sw-podium-table th:first-child,
.mw-parser-output .sw-podium-table td:first-child{
.mw-parser-output .sw-podium-table td:first-child,
  width:3.5em;
.mw-parser-output .sw-podium-place {
  text-align:center;
   width: 3.5em;
}
   text-align: center;
.mw-parser-output .sw-podium-inline{
   display:inline-flex;
   align-items:center;
  flex-wrap:wrap;
  gap:.25rem;
  font-size:.92em;
  color:#54595d;
}
}
.mw-parser-output .sw-podium-player{
 
   display:inline-flex;
.mw-parser-output .sw-podium-team {
   align-items:center;
   display: inline-flex;
   gap:.25rem;
   align-items: center;
  flex-wrap: wrap;
   gap: 0.4rem;
}
}
.mw-parser-output .sw-podium-avatar{
 
   display:inline-flex;
.mw-parser-output .sw-podium-team-logo {
   width:20px;
   display: inline-flex;
   height:20px;
   width: 24px;
   border-radius:999px;
   height: 24px;
   overflow:hidden;
   border-radius: 999px;
   background:#eaecf0;
   overflow: hidden;
   vertical-align:middle;
   background: #eaecf0;
   flex: 0 0 24px;
}
}
.mw-parser-output .sw-podium-avatar a,
 
.mw-parser-output .sw-podium-avatar img{
.mw-parser-output .sw-podium-team-logo a,
   display:block;
.mw-parser-output .sw-podium-team-logo img {
   width:100%;
   display: block;
   height:100%;
   width: 100%;
   height: 100%;
}
}
.mw-parser-output .sw-podium-avatar img{
 
   object-fit:cover;
.mw-parser-output .sw-podium-team-logo img {
   object-fit: cover;
}
}
.mw-parser-output .sw-podium-sep{
 
   color:#72777d;
.mw-parser-output .sw-podium-team-players {
   color: #54595d;
  font-size: 0.92em;
}
}

Revision as of 21:25, 16 April 2026

.mw-parser-output .sw-podium-table {
  width: 100%;
  margin: 0 0 1em;
}

.mw-parser-output .sw-podium-table th,
.mw-parser-output .sw-podium-table td {
  vertical-align: middle;
}

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

.mw-parser-output .sw-podium-team {
  display: inline-flex;
  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;
}