MediaWiki:Tables.css

From MB Wiki
Revision as of 11:54, 25 March 2026 by Ais (talk | contribs) (table structure start)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.
/** Table Systems **/
.wikitable, .scheduletable {
    width: auto;
    min-width: 300px;
    margin: 1.5em auto;
    border-collapse: collapse;
    border: 1px solid var(--theme-border-color);
    background-color: var(--card-bg-main, #fff);
    border-radius: 4px;
}

.wikitable > tr > th, .wikitable > * > tr > th {
    background-color: var(--gold-accent) !important;
    color: #1a2a2a !important;
    padding: 0.5em 1em;
}

/* Schedule Specific Positioning */
.scheduletable td:first-child {
    width: 150px !important;
    font-weight: 600;
    background-color: rgba(56, 178, 172, 0.08);
    border-right: 2px solid var(--teal-300);
}