MediaWiki:Common.css: Difference between revisions

class for skill table formatting
mNo edit summary
(class for skill table formatting)
Line 161:
}
 
/* Wide Tables - prevents nearly-blank extra rows */
/* Scrollable wide skill tables */
.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;
max-width: fit-content;
Line 174 ⟶ 177:
border-width: 0;
}
.widescroll > * > 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;}