Diferencia entre revisiones de «MediaWiki:Minerva.css»
Ir a la navegación
Ir a la búsqueda
Sin resumen de edición |
Sin resumen de edición |
||
| Línea 70: | Línea 70: | ||
margin-left: calc(50% - 50vw) !important; | margin-left: calc(50% - 50vw) !important; | ||
margin-right: 0 !important; | margin-right: 0 !important; | ||
} | |||
/* Que las tablas de la ruta no recorten la imagen de borde a borde */ | |||
#main-table, | |||
#main-table > tbody, | |||
#main-table > tbody > tr, | |||
#main-table > tbody > tr > td, | |||
.imagen-principal-td table, | |||
.imagen-principal-td tbody, | |||
.imagen-principal-td tr, | |||
.imagen-principal-td td, | |||
.imagen-principal-td figure { | |||
overflow: visible !important; | |||
} | } | ||
Revisión del 18:36 9 nov 2026
/* Todo el CSS colocado aquí será cargado para los usuarios que usen la apariencia MinervaNeue */
/* Rutas (Plantilla:RutaForm2): apilar imagen, mapa y cuadro resumen en móvil */
.nomobile { display: none !important; }
/* Tabla principal: sus 3 celdas pasan a bloques de ancho completo */
#main-table,
#main-table > tbody,
#main-table > tbody > tr,
#main-table > tbody > tr > td {
display: block !important;
width: 100% !important;
box-sizing: border-box;
padding: 0 !important;
}
/* Tabla interna (imagen + índice): todo en bloques, así no se encoge */
.imagen-principal-td table,
.imagen-principal-td tbody,
.imagen-principal-td tr,
.imagen-principal-td td {
display: block !important;
width: 100% !important;
max-width: 100% !important;
box-sizing: border-box;
padding: 0 !important;
}
/* Imagen principal y su pie de foto: todo el ancho */
.imagen-principal-td figure,
.imagen-principal-td figure > a,
.imagen-principal-td figure > span,
.imagen-principal-td a.mw-file-description,
.imagen-principal-td .lazy-image-placeholder,
.imagen-principal-td figcaption {
display: block !important;
width: 100% !important;
max-width: 100% !important;
margin: 0 !important;
float: none !important;
box-sizing: border-box;
}
.imagen-principal-td .lazy-image-placeholder { height: auto !important; }
.imagen-principal-td img {
width: 100% !important;
max-width: 100% !important;
height: auto !important;
}
/* Mapa: todo el ancho */
#main-table > tbody > tr > td > table {
width: 100% !important;
margin: 0 !important;
}
#main-table iframe {
width: 100% !important;
max-width: 100% !important;
}
/* Cuadro resumen: debajo del mapa, todo el ancho */
#main-table .infobox {
float: none !important;
width: 100% !important;
margin: 0.5em 0 !important;
}
/* Imagen principal de borde a borde, estilo Instagram */
#main-table .imagen-principal-td figure > a {
width: 100vw !important;
max-width: 100vw !important;
margin-left: calc(50% - 50vw) !important;
margin-right: 0 !important;
}
/* Que las tablas de la ruta no recorten la imagen de borde a borde */
#main-table,
#main-table > tbody,
#main-table > tbody > tr,
#main-table > tbody > tr > td,
.imagen-principal-td table,
.imagen-principal-td tbody,
.imagen-principal-td tr,
.imagen-principal-td td,
.imagen-principal-td figure {
overflow: visible !important;
}