MediaWiki:Common.css

From Point Omega Research
Revision as of 15:21, 6 February 2013 by BigSmoke (Talk | contribs) (Fix borders around td in table 3 in mice and men)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Note: After saving, 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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences
/* CSS placed here will be applied to all skins */

table.mice-and-men {
  border-collapse: collapse;
  border: 1px solid black;
}

table.mice-and-men th { /* scope=col is the default */
  padding: 2pt 8pt;
  text-align: center;
  font-weight: bold;
  border-bottom: 1px solid black;
}

table.mice-and-men th.corner {
  border-right: 1px solid black;
}

table.mice-and-men th[scope=row] {
  padding: 2pt 8pt;
  border-right: 1px solid black;
  border-bottom: none;
  font-weight: bold;
  text-align: left;
}

table.mice-and-men td {
  padding: 2pt 8pt;
  text-align: center;
}

table.mice-and-men.table2 th[scope=row]:first-child {
  border-right: none;
}

table.mice-and-men.table3 td {
  border: 1px solid black;
}

table.mice-and-men.table7 th {
  background-color: #cecece;
}

table.mice-and-men.table7 th,
table.mice-and-men.table7 td {
  border-right: 1px solid #888;
}

table.mice-and-men.table7 tr:nth-child(even) td {
  background-color: #ccf;
}

table.mice-and-men.table7 td.hsep {
  height: 30px;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  border-right: 1px solid white;
  border-left: 1px solid white;
}

table.mice-and-men.table7 th:nth-child(2),
table.mice-and-men.table7 th:nth-child(n+4),
table.mice-and-men.table7 td:nth-child(2) {
  color: #056;
}

table.mice-and-men.table7 td:nth-child(2) {
  font-weight: bold;
}

table.mice-and-men.table7 td:nth-child(3) {
  text-align: left;
}