Diferencia entre revisiones de «MediaWiki:Common.css»

Sin resumen de edición
Sin resumen de edición
 
(No se muestran 4 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;
  width: 80%;
  min-width: 600px;
   margin: 0 auto;
   margin: 0 auto;
   border-collapse: collapse;
   border-collapse: collapse;
   background-color: #ffffff;
   background-color: #ffffff;
  text-align:center;
  vertical-align: top;
  padding: 0.6em;
}
}


table.TablaDQW {
 
   background-color: #f9f5ef;
th {
   width: 80%;
   background-color: #e1caac;
  min-width: 600px;
   color: black;
  text-align:center;
}
}


/* Caracterísitacas encabezado */
thead {
th {
   background-color: #e1caac;
   background-color: #e1caac;
   color: black;
   color: black;
}
}


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


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