Diferencia entre revisiones de «MediaWiki:Common.css»

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


/* TABLAS */
/* TABLAS */
/* Características por defecto */
/* Estilo visual para tablas con estilo zebra */
 
.wikitable > tr > th, .wikitable > * > tr > th {
    background-color: #e1caac;
    color: #000;
    text-align: center;
  }
}
 
table {
table {
   table-layout: fixed;
   table-layout: fixed;
   max-width: 80%;
   width: 80%;
  width: fit-content;
   min-width: 600px;
   min-width: 600px;
   margin: 0 auto;
   margin: 0 auto;
Línea 70: Línea 77:
   background-color: #ffffff;
   background-color: #ffffff;
   text-align:center;
   text-align:center;
  vertical-align: top;
  padding: 0.6em;
}
}


/* Caracterísitacas encabezado */
 
th {
th {
   background-color: #e1caac;
   background-color: #e1caac;
Línea 78: Línea 87:
}
}


/* Color distinto para filas impares, estilo cebra.
thead {
   class="DQWTabla" */
   background-color: #e1caac;
  color: black;
}
 
tbody tr:nth-child(odd) {
  background-color: #f9f5ef;
}


table.DQWTabla tr:nth-child(odd) {
tbody tr:nth-child(even) {
background-color: #f9f5ef;
  background-color: #ffffff;
}
}