Jump to content

MediaWiki:Mobile.css: Difference between revisions

No edit summary
No edit summary
Line 3: Line 3:




/* ESTES ESTILOS SÓ AFETAM O TELEMÓVEL */


/* 1. Limpar fundos que pesam no mobile */
body, .mw-page-container {
    background-image: none !important;
    background-color: #ffffff !important;
}
/* 2. Corrigir o tamanho do conteúdo e tabelas */
#content, .mw-body {
    margin: 0 !important;
    padding: 10px !important;
    width: 100% !important;
}
/* Forçar scroll nas tabelas de hardware do ATLAS */
.mw-parser-output {
    overflow-x: auto !important;
}
table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
}
/* 3. Ajustar o Logo da ATRONIA no topo */
.mw-wiki-logo {
    max-width: 140px !important;
    background-size: contain !important;
    margin-left: 10px;
}
/* 4. Cores de texto para melhor contraste */
#mw-content-text {
    color: #000000 !important;
    font-size: 0.95em !important;
}
/* Ajuste do Header e Logo para Mobile */
@media screen and (max-width: 720px) {
    /* Garante que o container do logo tenha espaço */
    .mw-header {
        display: flex !important;
        align-items: center !important;
        padding: 5px 10px !important;
    }
    /* Redimensiona o logo ATRONIA para caber no topo */
    .mw-wiki-logo {
        max-width: 120px !important;
        height: 40px !important;
        background-size: contain !important;
        margin: 0 !important;
    }
   
    /* Se estiveres a usar a wordmark (texto ATRONIA) */
    .mw-logo-wordmark {
        max-width: 100px !important;
        height: auto !important;
    }
}