Difference between revisions of "MediaWiki:Common.css"

From Point Omega Research
Jump to: navigation, search
(Fix borders around td in table 3 in mice and men)
 
(18 intermediate revisions by the same user not shown)
Line 32: Line 32:
 
table.mice-and-men.table2 th[scope=row]:first-child {
 
table.mice-and-men.table2 th[scope=row]:first-child {
 
   border-right: none;
 
   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 {
 
table.mice-and-men.table7 tr:nth-child(even) td {
   background-color: #ccc;
+
   background-color: #ccf;
 
}
 
}
  
Line 46: Line 59:
 
}
 
}
  
table.mice-and-men.table7 th:nth-child(n+3),
+
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) {
 
table.mice-and-men.table7 td:nth-child(2) {
 
   color: #056;
 
   color: #056;

Latest revision as of 15:21, 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 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;
}