MediaWiki:Common.css: Difference between revisions
testing scrollbar changes for horizontally scrollable tables
BetweenWalls (talk | contribs) (class for skill table formatting) |
BetweenWalls (talk | contribs) (testing scrollbar changes for horizontally scrollable tables) |
||
Line 164:
.wide {white-space: nowrap;}
.scroll {
display: block;
max-width: fit-content;
max-width: -moz-fit-content;
max-width: -webkit-fit-content;
overflow-x:
white-space: nowrap;
padding: 0 0 10px;
margin: 1em 0 -4px;
background-color: #150D0A;
border-width: 0;
scrollbar-width: thin;
scrollbar-color: transparent transparent;
}
.scroll:hover {
scrollbar-color: #B18D62 transparent;
}
.scroll > * > tr > th:first-child {
position: sticky;
left: -1px;
margin: 0 13px;
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;
}
.wikitable-3col > * > tr > td {width: 33% !important;}
|