Mudanças entre as edições de "MediaWiki:Monobook.css"
| Linha 1: | Linha 1: | ||
| − | /* | + | /* Tornar a página mais responsiva em telas menores */ |
| + | @media only screen and (max-width: 768px) { | ||
| + | #content { | ||
| + | padding: 10px; | ||
| + | border-radius: 10px; | ||
| + | } | ||
| + | |||
| + | /* Ajustes de tamanho para imagens em dispositivos móveis */ | ||
| + | img { | ||
| + | max-width: 100%; | ||
| + | height: auto; | ||
| + | } | ||
| + | |||
| + | /* Centralizar e otimizar o layout em dispositivos móveis */ | ||
| + | body { | ||
| + | padding: 10px; | ||
| + | } | ||
| + | |||
| + | /* Ajustar a navegação lateral em dispositivos móveis */ | ||
| + | #p-logo, #p-navigation, #p-tb { | ||
| + | width: 100%; | ||
| + | margin-bottom: 10px; | ||
| + | border-radius: 5px; | ||
| + | } | ||
| + | } | ||
Edição das 18h27min de 24 de outubro de 2024
/* Tornar a página mais responsiva em telas menores */
@media only screen and (max-width: 768px) {
#content {
padding: 10px;
border-radius: 10px;
}
/* Ajustes de tamanho para imagens em dispositivos móveis */
img {
max-width: 100%;
height: auto;
}
/* Centralizar e otimizar o layout em dispositivos móveis */
body {
padding: 10px;
}
/* Ajustar a navegação lateral em dispositivos móveis */
#p-logo, #p-navigation, #p-tb {
width: 100%;
margin-bottom: 10px;
border-radius: 5px;
}
}