MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
BetweenWalls (talk | contribs) mNo edit summary |
BetweenWalls (talk | contribs) (new class for wide tables) |
||
Line 160: | Line 160: | ||
background-color: #271C12; |
background-color: #271C12; |
||
} |
} |
||
/* Additional class for wide skill tables */ |
|||
.wide { |
|||
display: block; |
|||
max-width: -moz-fit-content; |
|||
max-width: fit-content; |
|||
overflow-x: auto; |
|||
white-space: nowrap; |
|||
padding: 0px 0px 10px; |
|||
margin-bottom: -4px; |
|||
background-color: #150D0A; |
|||
border-width: 0; |
|||
} |
|||
.wide > tr > th, .wide > * > tr > th, .wide > td:first-child {position: sticky; left: 0px;} /* freezes first column when scrolling */ |
|||
.wikitable-3col > * > tr > td {width: 33% !important;} |
.wikitable-3col > * > tr > td {width: 33% !important;} |
||
.wikitable-box { |
.wikitable-box { |