Line 1,842: |
Line 1,842: |
| } | | } |
| | | |
− | .tooltip .tooltip .tooltiptext, | + | .tooltip .tooltip .tooltiptext { |
− | .header-fixed-helper .tooltip .tooltiptext {
| |
| bottom: auto; | | bottom: auto; |
| top: calc(20px + 100%); | | top: calc(20px + 100%); |
| } | | } |
| | | |
− | .tooltip .tooltip .tooltiptext:after, | + | .tooltip .tooltip .tooltiptext:after { |
− | .header-fixed-helper .tooltip .tooltiptext:after {
| |
| top: auto; | | top: auto; |
| bottom: 100%; | | bottom: 100%; |
Line 1,862: |
Line 1,860: |
| } | | } |
| | | |
− | .tooltip .tooltip .tooltiptext:before, | + | .tooltip .tooltip .tooltiptext:before { |
− | .header-fixed-helper .tooltip .tooltiptext:before {
| |
| top: auto; | | top: auto; |
| bottom: 100%; | | bottom: 100%; |
Line 1,869: |
Line 1,866: |
| margin-left: -16px; | | margin-left: -16px; |
| border-color: transparent transparent #888 transparent; | | border-color: transparent transparent #888 transparent; |
− | }
| |
− |
| |
− | .fixed-header {
| |
− | border-collapse: separate;
| |
− | border-spacing: 0;
| |
− | border: none;
| |
− | border-top: 1px solid #a2a9b1;
| |
− | border-right: 1px solid #a2a9b1;
| |
− | }
| |
− |
| |
− | .fixed-header > tr > th, .fixed-header > tr > td, .fixed-header > * > tr > th, .fixed-header > * > tr > td {
| |
− | border: none;
| |
− | box-shadow: inset 0 -1px 0 #a2a9b1, inset 1px 0 0 #a2a9b1;
| |
− | }
| |
− |
| |
− | .fixed-header-1:not(.mw-collapsed *) {
| |
− | position: sticky;
| |
− | top: 0;
| |
− | z-index: 1;
| |
− | }
| |
− |
| |
− | .fixed-header-2:not(.mw-collapsed *) {
| |
− | position: sticky;
| |
− | top: 2em;
| |
− | z-index: 1;
| |
| } | | } |
| | | |
Line 1,932: |
Line 1,904: |
| } | | } |
| | | |
− | .tooltip .tooltip .tooltiptext, | + | .tooltip .tooltip .tooltiptext { |
− | .header-fixed-helper .tooltip .tooltiptext {
| |
| transform: translate(-50%, -8px); | | transform: translate(-50%, -8px); |
| } | | } |
Line 1,952: |
Line 1,923: |
| | | |
| .mw-body-content { z-index: auto !important;} | | .mw-body-content { z-index: auto !important;} |
| + | |
| + | /* Simple fixed/sticky headers for tables. */ |
| + | |
| + | .fixed-header { |
| + | border-collapse: separate; |
| + | border-spacing: 0; |
| + | border: none; |
| + | border-top: 1px solid #a2a9b1; |
| + | border-right: 1px solid #a2a9b1; |
| + | } |
| + | |
| + | .fixed-header > tr > th, .fixed-header > tr > td, .fixed-header > * > tr > th, .fixed-header > * > tr > td { |
| + | border: none; |
| + | box-shadow: inset 0 -1px 0 #a2a9b1, inset 1px 0 0 #a2a9b1; |
| + | } |
| + | |
| + | .fixed-header-1:not(.mw-collapsed *) { |
| + | position: sticky; |
| + | top: 0; |
| + | z-index: 1; |
| + | } |
| + | |
| + | .fixed-header-2:not(.mw-collapsed *) { |
| + | position: sticky; |
| + | top: 2em; |
| + | z-index: 1; |
| + | } |
| | | |
| /* | | /* |