Diferencia entre revisiones de «MediaWiki:Common.css»
Sin resumen de edición |
Sin resumen de edición |
||
| Línea 60: | Línea 60: | ||
/* TABLAS */ | /* TABLAS */ | ||
/* | /* 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; | |||
} | } | ||
.wikitable th { | |||
background-color: #e1caac; | |||
color: black; | |||
} | } | ||
.wikitable thead { | |||
background-color: #e1caac; | background-color: #e1caac; | ||
color: black; | color: black; | ||
} | } | ||
.wikitable tbody tr:nth-child(odd) { | |||
background-color: #f9f5ef; | |||
} | |||
.wikitable tbody tr:nth-child(even) { | |||
background-color: # | background-color: #ffffff; | ||
} | } | ||