Diferencia entre revisiones de «MediaWiki:Common.css»

Sin resumen de edición
Sin resumen de edición
Línea 84: Línea 84:
/* Estilo visual para tablas con estilo zebra */
/* Estilo visual para tablas con estilo zebra */


.wiktabla > tr > th, .wikitable > * > tr > th {
.wiktabla2 > tr > th, .wikitable > * > tr > th {
     background-color: #aad7fd;
     background-color: #aad7fd;
     color: #000;
     color: #000;
Línea 101: Línea 101:
}
}


th,
.wiktabla2 > th,
td {
td {
   vertical-align: top;
   vertical-align: top;
Línea 107: Línea 107:
}
}


th {
.wiktabla2 > th {
   background-color: #aad7fd;
   background-color: #aad7fd;
   color: black;
   color: black;
}
}


thead {
.wiktabla2 > thead {
   background-color: #aad7fd;
   background-color: #aad7fd;
   color: black;
   color: black;
}
}


tbody tr:nth-child(odd) {
.wiktabla2 > tbody tr:nth-child(odd) {
   background-color: #4c9afd;
   background-color: #4c9afd;
}
}


tbody tr:nth-child(even) {
.wiktabla2 > tbody tr:nth-child(even) {
   background-color: #ffffff;
   background-color: #ffffff;
}
}