MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
(border issue ughhh) |
(column colour fixes hopefully) |
||
| Line 12: | Line 12: | ||
position: sticky; | position: sticky; | ||
left: 0; | left: 0; | ||
z-index: 1; | z-index: 1; | ||
border: | border: 3px solid #a2a9b1; | ||
} | |||
.frozen-table th:first-child { | |||
z-index: 2; | |||
background: #eaecf0; | |||
} | } | ||
.frozen-table td:first-child { | .frozen-table td:first-child { | ||
background: | background: #f8f9fa; | ||
border: 1px solid #a2a9b1; | border: 1px solid #a2a9b1; | ||
} | } | ||
.frozen-table th:nth-child(2), | .frozen-table th:nth-child(2), | ||
| Line 29: | Line 29: | ||
.frozen-table { | .frozen-table { | ||
table-layout: fixed; | table-layout: fixed; | ||
border-collapse: separate; | |||
border-spacing: 0; | |||
border-top: 1px solid #a2a9b1; | |||
min-width: 100%; | min-width: 100%; | ||
} | } | ||
Revision as of 15:38, 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;
z-index: 1;
border: 3px solid #a2a9b1;
}
.frozen-table th:first-child {
z-index: 2;
background: #eaecf0;
}
.frozen-table td:first-child {
background: #f8f9fa;
border: 1px solid #a2a9b1;
}
.frozen-table th:nth-child(2),
.frozen-table td:nth-child(2) {
border-left: none;
}
.frozen-table {
table-layout: fixed;
border-collapse: separate;
border-spacing: 0;
border-top: 1px solid #a2a9b1;
min-width: 100%;
}