Mudanças entre as edições de "MediaWiki:Common.css"

De Wiki AnDes Sistemas
Ir para: navegação, pesquisa
m
Linha 1: Linha 1:
 
<style>
 
<style>
@media screen {
+
.img-responsive {
  .img-responsive {
+
     max-width: 100% !important;
     width: 100% !important;         /* Força ocupar 100% da largura do container */
+
     height: auto !important;
    max-width: 900px !important;    /* Limite máximo (ajuste conforme necessário) */
+
     display: block;
     height: auto !important;         /* Mantém proporção */
+
     margin: 0 auto;
     display: block !important;
+
     margin: 0 auto !important;       /* Centraliza */
+
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* Opcional: leve sombra para destaque */
+
  }
+
 
+
  /* Opcional: em telas muito pequenas, reduzir um pouco */
+
  @media (max-width: 480px) {
+
    .img-responsive {
+
      max-width: 100% !important;
+
    }
+
  }
+
 
}
 
}
 
</style>
 
</style>

Edição das 13h34min de 11 de novembro de 2025

<style>
.img-responsive {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
}
</style>