MediaWiki:Common.css

Revision as of 01:55, 14 March 2023 by PeaceDeadC (talk | contribs) (Replaced content with "→‎career: .table-wrapper { display: flex; align-items: center; } .table.career { display: table; width: 100%; max-width: 2400px; text-align: center; vertical-align: middle; box-sizing: border-box; } .table.career > :first-child > tr:first-child { text-align: center; vertical-align: middle; } .table.career > tbody > tr.heading { text-align:center; vertical-align:middle; } .table.career > :first-child > tr:first-child > * {...")

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.
/* career */
  .table-wrapper {
  display: flex;
  align-items: center;
}

.table.career {
  display: table;
  width: 100%;
  max-width: 2400px;
  text-align: center;
  vertical-align: middle;
  box-sizing: border-box;
}

.table.career > :first-child > tr:first-child {
  text-align: center;
  vertical-align: middle;
} 
  .table.career > tbody > tr.heading {
    text-align:center;
    vertical-align:middle;
  }
  .table.career > :first-child > tr:first-child > * {
    text-align:center;
    vertical-align:middle;
  }
  .table.career > tbody > tr.heading > * {
    background-image:linear-gradient(to top, #E7E7E7, #EFEFEF);
    border-color:#AAA; !important;
    border-collapse: collapse;
    text-align:center;
    vertical-align:middle;
  }
  .table.career > tbody > tr > th {
    text-align:center;
    vertical-align:middle;
  }
  .table.career > tfoot > tr > th {
    text-align:center;
    vertical-align:middle;
  }
  .table.career > thead > tr > th {
    text-align:center;
    vertical-align:middle;
  }
  table.table > tbody > tr.career > th {
    background-color:#F3F3F3; !important;
    border-color:#AAA;
    border-collapse: collapse;
    text-align:center;
    vertical-align:middle;
  }
  .table.career > tbody > tr:nth-child(odd) {
    text-align:center;
    vertical-align:middle;
  }
  .table > tbody > tr.career:nth-child(odd) {
    background-color:#F3F3F3;
    text-align:center;
    vertical-align:middle;
  }