MediaWiki:Common.css: Difference between revisions

m
Fix scrollable table bleed-through
mNo edit summary
m (Fix scrollable table bleed-through)
 
(32 intermediate revisions by 2 users not shown)
Line 158:
border: 1px solid #1F160C;
border-collapse: collapse;
background-color: #271C12;
}
 
/* Wide Tables - prevents nearly-blank extra rows */
/* Additional class for wide skill tables */
.wide {white-space: nowrap;}
 
display: block;
.scroll {
max-width: -moz-fit-content;
-moz-transition: all .25s ease-in;
max-width: fit-content;
-webkit-transition: all .25s ease-in;
overflow-x: auto;
transition: all .25s ease-in;
white-space: nowrap;
display: block;
padding: 0px 0px 10px;
margin max-bottomwidth: fit-4pxcontent;
max-width: -moz-fit-content;
background-color: #150D0A;
border max-width: 0-webkit-fit-content;
overflow-x: autoscroll;
white-space: nowrap;
padding: 0px 0pxpadding: 10px0;
margin: 1em 0 -4px;
background-color: #150D0A;
border-width: 0;
scrollbar-width: thin;
scrollbar-color: #B18D6220 transparent;
}
.scroll:hover {
scrollbar-color: #B18D62 transparent;
}
.scroll > * > tr > th:first-child {
position: sticky;
left: 0;
margin: 0 13px;
border-width: 1px;
border-left: 0;
box-shadow: -1px 0 0 0 #271C12, 1px 0 0 0 #271C12 inset, -1px 0 0 0 #271C12 inset;
}
/* Lower/thicken the horizontal scrollbar in Firefox
to avoid being overlapped with the table */
@supports (-moz-appearance:none) {
.scroll {
padding-bottom: 10px !important;
scrollbar-width: auto !important;
}
}
.wide > * > tr:first-child {position: sticky; left: 0px; outline: #150D0A solid 2px;} /* freezes first column when scrolling */
 
.wikitable-3col > * > tr > td {width: 33% !important;}