|
|
| (12 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| /* All CSS here will be loaded for users of the mobile site */ | | /* All CSS here will be loaded for users of the mobile site */ |
|
| |
|
| |
|
| |
| /* 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;
| |
| }
| |
| }
| |
|
| |
|
| |
|
| |
|
| |
| /* Remove o fundo branco do botão da lupa */
| |
| #p-search .cdx-button {
| |
| background-color: transparent !important;
| |
| border: none !important;
| |
| color: #ffffff !important; /* Cor do ícone */
| |
| }
| |
|
| |
| /* Garante que o ícone da lupa seja verde se quiseres seguir o estilo ATRONIA */
| |
| #p-search .vector-icon {
| |
| color: #ccff00 !important; /* Aquele verde limão do teu logo */
| |
| }
| |
/* All CSS here will be loaded for users of the mobile site */