Difference between revisions of "MediaWiki:Common.css"

From Point Omega Research
Jump to: navigation, search
(zebra stripes for table 3 in mice and men)
(Borders around td in table 3 in mice and men)
Line 35: Line 35:
  
 
table.mice-and-men.table3 tr:nth-child(even) td {
 
table.mice-and-men.table3 tr:nth-child(even) td {
   background-color: #ccf;
+
   border: 1px solid #ccc;
 
}
 
}
  

Revision as of 16:18, 6 February 2013

/* 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 tr:nth-child(even) td {
  border: 1px solid #ccc;
}

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;
}