MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
m (bg remove) |
(adjustments) |
||
| Line 12: | Line 12: | ||
position: sticky; | position: sticky; | ||
left: 0; | left: 0; | ||
background: inherit; | |||
z-index: 1; | z-index: 1; | ||
border | border-left: inherit; | ||
border-right: inherit; | |||
} | } | ||
.frozen-table th:first-child { | .frozen-table th:first-child { | ||
background: #f8f9fa; | background: #f8f9fa; | ||
z-index: 2; | z-index: 2; | ||
border-left: inherit; | |||
border-right: inherit; | |||
} | } | ||
.frozen-table { | .frozen-table { | ||
Revision as of 15:18, 14 November 2025
/* CSS placed here will be applied to all skins */
.noresize {
overflow-x: scroll;
overflow-y: visible;
width: 100%;
max-width: 100vw;
display: block;
}
.frozen-table th:first-child,
.frozen-table td:first-child {
position: sticky;
left: 0;
background: inherit;
z-index: 1;
border-left: inherit;
border-right: inherit;
}
.frozen-table th:first-child {
background: #f8f9fa;
z-index: 2;
border-left: inherit;
border-right: inherit;
}
.frozen-table {
table-layout: fixed;
min-width: 100%;
}