Template:Division champions block/styles.css: Difference between revisions
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, | ||
.mw-parser-output .sw-podium-place { | |||
width: 3.5em; | |||
text-align: center; | |||
.mw-parser-output .sw-podium- | |||
align | |||
} | } | ||
.mw-parser-output .sw-podium- | |||
display:inline-flex; | .mw-parser-output .sw-podium-team { | ||
align-items:center; | display: inline-flex; | ||
gap:. | align-items: center; | ||
flex-wrap: wrap; | |||
gap: 0.4rem; | |||
} | } | ||
.mw-parser-output .sw-podium- | |||
display:inline-flex; | .mw-parser-output .sw-podium-team-logo { | ||
width: | display: inline-flex; | ||
height: | width: 24px; | ||
border-radius:999px; | height: 24px; | ||
overflow:hidden; | border-radius: 999px; | ||
background:#eaecf0; | overflow: hidden; | ||
background: #eaecf0; | |||
flex: 0 0 24px; | |||
} | } | ||
.mw-parser-output .sw-podium- | |||
.mw-parser-output .sw-podium- | .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- | |||
object-fit:cover; | .mw-parser-output .sw-podium-team-logo img { | ||
object-fit: cover; | |||
} | } | ||
.mw-parser-output .sw-podium- | |||
color:# | .mw-parser-output .sw-podium-team-players { | ||
color: #54595d; | |||
font-size: 0.92em; | |||
} | } | ||