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 7: | Línea 7: | ||
} | } | ||
/* Estilo para las celdas */ | |||
.wikitable th, .wikitable td { | .wikitable th, .wikitable td { | ||
border: 1px solid #ddd; | border: 1px solid #ddd; | ||
padding: 8px; | padding: 8px; | ||
text-align: center; | text-align: center; | ||
transition: box-shadow 0.3s ease-in-out; | |||
} | } | ||
| Línea 23: | Línea 25: | ||
max-width: 100%; | max-width: 100%; | ||
height: auto; | height: auto; | ||
transition: box-shadow 0.3s ease-in-out; | |||
} | |||
/* Efecto de brillo dorado al pasar el mouse sobre celdas y imágenes */ | |||
.wikitable th:hover, .wikitable td:hover, .wikitable img:hover { | |||
box-shadow: 0 0 10px 5px rgba(255, 215, 0, 0.7); /* Brillo dorado */ | |||
} | } | ||
Revisión del 21:57 5 sep 2024
/* Los estilos CSS colocados aquí se aplicarán a todas las apariencias */
/* Estilos generales para la tabla */
.wikitable {
border-collapse: collapse;
width: 100%;
background-color: #f9f9f9;
}
/* Estilo para las celdas */
.wikitable th, .wikitable td {
border: 1px solid #ddd;
padding: 8px;
text-align: center;
transition: box-shadow 0.3s ease-in-out;
}
/* Estilo para las celdas destacadas */
.wikitable td.highlight {
background-color: #ffd454;
font-weight: bold;
}
/* Estilo para las imágenes en la tabla */
.wikitable img {
max-width: 100%;
height: auto;
transition: box-shadow 0.3s ease-in-out;
}
/* Efecto de brillo dorado al pasar el mouse sobre celdas y imágenes */
.wikitable th:hover, .wikitable td:hover, .wikitable img:hover {
box-shadow: 0 0 10px 5px rgba(255, 215, 0, 0.7); /* Brillo dorado */
}
/* Estilo para la celda que ocupa varias columnas */
.wikitable td.colspan {
background-color: #ffd454;
font-weight: bold;
width: 16.666%;
}