MediaWiki:Common.css
Jump to navigation
Jump to search
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* Container para GIFs animados */
.gif-container {
position: relative;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
}
/* A imagem do NPC (GIF) */
.tile-top.tile-image img {
display: block;
max-width: 100%;
width: auto;
height: auto;
margin: 0;
transition: 0.4s ease-out;
object-fit: contain;
}
/* Estilo ajustado para tamanhos personalizados */
.tile-top.tile-image img.custom-size {
object-fit: cover; /* Garante que a animação não seja perdida */
}
/* Classes para dimensionamento manual */
.npc-image {
width: 100%;
height: 100%;
object-fit: contain;
}
.npc-image-small {
max-width: 150px !important;
}
.npc-image-medium {
max-width: 200px !important;
}
.npc-image-large {
max-width: 250px !important;
}
/* Aplicação da classe custom-size no gif */
.tile-top.tile-image img.custom-size {
object-fit: contain; /* Garante que a animação continue */
}