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 */ | ||
/* | /* 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; | 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; | |||
} | } | ||
th { | th { | ||
background-color: #e1caac; | background-color: #e1caac; | ||
| Línea 78: | Línea 87: | ||
} | } | ||
thead { | |||
background-color: #e1caac; | |||
color: black; | |||
} | |||
tbody tr:nth-child(odd) { | |||
background-color: #f9f5ef; | |||
} | |||
tbody tr:nth-child(even) { | |||
background-color: #ffffff; | |||
} | } | ||