Diferencia entre revisiones de «MediaWiki:Common.css»
Ir a la navegación
Ir a la búsqueda
Sin resumen de edición |
Sin resumen de edición |
||
Línea 1: | Línea 1: | ||
/* Estilos generales para la tabla */ | /* Estilos generales para la tabla */ | ||
.wikitable { | .wikitable { | ||
width: 100%; | |||
border-collapse: collapse; | border-collapse: collapse; | ||
} | } | ||
Línea 9: | Línea 8: | ||
border: 1px solid #ddd; | border: 1px solid #ddd; | ||
padding: 8px; | padding: 8px; | ||
} | } | ||
.wikitable th { | |||
background-color: #f2f2f2; | |||
color: #333; | |||
} | |||
.wikitable td { | |||
background-color: #fff; | |||
} | |||
.wikitable tr:nth-child(even) { | |||
background-color: #f9f9f9; | |||
} | |||
.wikitable td.highlight { | .wikitable td.highlight { | ||
background-color: #ffd454; | background-color: #ffd454; | ||
width: 16.666%; | |||
font-weight: bold; | font-weight: bold; | ||
text-align: center; | |||
} | } | ||
/* Estilo para las imágenes | /* Estilo para las imágenes */ | ||
.wikitable img { | .wikitable img { | ||
border-radius: 4px; | |||
} | } |
Revisión del 22:02 5 sep 2024
/* Estilos generales para la tabla */ .wikitable { width: 100%; border-collapse: collapse; } .wikitable th, .wikitable td { border: 1px solid #ddd; padding: 8px; } .wikitable th { background-color: #f2f2f2; color: #333; } .wikitable td { background-color: #fff; } .wikitable tr:nth-child(even) { background-color: #f9f9f9; } .wikitable td.highlight { background-color: #ffd454; width: 16.666%; font-weight: bold; text-align: center; } /* Estilo para las imágenes */ .wikitable img { border-radius: 4px; }