MediaWiki:Common.css

From aepages
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/*fits tables*/
.noresize {
    overflow-x: scroll;
    overflow-y: visible;
    width: 100%;
    max-width: 100vw;
    display: block;
}

/*freezes first column of table, used on live compilation analysis tables*/
.frozen-table th:first-child,
.frozen-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
}
.frozen-table th:first-child {
    z-index: 2;
    background: #eaecf0;
    border-left: 1px solid #a2a9b1;
    margin-right: -1px;
}
.frozen-table td:first-child {
    background: #f8f9fa;
    border-left: 1px solid #a2a9b1;
    margin-right: -1px;
}
.frozen-table th:nth-child(2),
.frozen-table td:nth-child(2) {
    border-left: none;
}
.frozen-table th,
.frozen-table td {
    border-bottom: 1px solid #a2a9b1;
    border-right: 1px solid #a2a9b1;
}
.frozen-table {
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    border: 0.5px solid #a2a9b1;
    min-width: 100%;
}

/* override default */
.wikitable .frozen-table > * > tr > th,
.wikitable .frozen-table > * > tr > td {
    border: none;
}