Diferencia entre revisiones de «MediaWiki:Common.css»

Sin resumen de edición
Sin resumen de edición
 
(No se muestran 12 ediciones intermedias del mismo usuario)
Línea 60: Línea 60:


/* TABLAS */
/* TABLAS */
/* distinto color en filas pares */
/* Estilo visual para tablas con estilo zebra */
/* por defecto: marrón claro DQW */
 
table.striped tr:nth-child(even) {
.wikitable > tr > th, .wikitable > * > tr > th {
background-color: #e1caac;
    background-color: #e1caac;
    color: #000;
    text-align: center;
  }
}
 
table {
  table-layout: fixed;
  width: 80%;
  min-width: 600px;
  margin: 0 auto;
  border-collapse: collapse;
  background-color: #ffffff;
  text-align:center;
  vertical-align: top;
  padding: 0.6em;
}
 
 
th {
  background-color: #e1caac;
  color: black;
}
 
thead {
  background-color: #e1caac;
  color: black;
}
 
tbody tr:nth-child(odd) {
  background-color: #f9f5ef;
}
 
tbody tr:nth-child(even) {
  background-color: #ffffff;
}
}