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) (class for skill table formatting) |
||
Line 161: | Line 161: | ||
} |
} |
||
/* Wide Tables - prevents nearly-blank extra rows */ |
|||
/* Scrollable wide skill tables */ |
|||
.wide { |
.wide {white-space: nowrap;} |
||
/* Formatting for wide scrollable tables - currently unused since it isn't unobtrusive enough on all browsers (scrollbar should ideally be relatively narrow, fit the color scheme, and disappear when not being used)) */ |
|||
.scroll { |
|||
display: block; |
display: block; |
||
max-width: fit-content; |
max-width: fit-content; |
||
Line 174: | Line 177: | ||
border-width: 0; |
border-width: 0; |
||
} |
} |
||
. |
.scroll > * > tr > th:first-child {position: sticky; left: 1px; margin: 0 13px; padding: 0 -1px; border-width: 1px; border-left: 1px solid #271C12; box-shadow: -1px 0 0 0 #271C12, 1px 0 0 0 #271C12 inset, -1px 0 0 0 #271C12 inset;} /* freezes first column when scrolling */ |
||
.wikitable-3col > * > tr > td {width: 33% !important;} |
.wikitable-3col > * > tr > td {width: 33% !important;} |