Diferencia entre revisiones de «Plantilla:Ficha/imagelimit.css»
m 9 revisiones importadas |
Fichas centradas y a todo el ancho en pantallas pequeñas |
||
| Línea 18: | Línea 18: | ||
max-width: 100% !important; | max-width: 100% !important; | ||
height: auto !important; | height: auto !important; | ||
} | |||
/* En pantallas pequeñas la ficha ocupa el ancho de la página y queda centrada, sin hueco a la izquierda. */ | |||
@media (max-width: 720px) { | |||
.infobox { | |||
float: none !important; | |||
clear: both; | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
margin: 0 0 1em 0 !important; | |||
box-sizing: border-box; | |||
} | |||
} | } | ||