Jump to content

MediaWiki:Vector-2022.css: Difference between revisions

No edit summary
No edit summary
Tag: Reverted
Line 2,312: Line 2,312:
         margin: 0 !important;
         margin: 0 !important;
         align-items: center !important;
         align-items: center !important;
    }
}
@media screen and (max-width: 720px) {
    /* 1. Reduz drasticamente a largura da área de pesquisa (a zona azul do teu print) */
    #p-search {
        flex: 0 0 40px !important; /* Fixa a largura em 40px, impedindo que cresça */
        min-width: 40px !important;
        margin: 0 !important;
    }
    /* 2. Garante que o container dos ícones da direita use o espaço que sobrou */
    .vector-header-end {
        flex: 1 1 auto !important;
        display: flex !important;
        justify-content: flex-end !important;
        gap: 8px !important;
    }
    /* 3. Força o link de Login a aparecer como texto simples e branco */
    #pt-login, #pt-login-2 {
        display: inline-flex !important;
        align-items: center !important;
        color: #ffffff !important;
        white-space: nowrap !important; /* Impede que o texto quebre em dois */
    }
    /* 4. Opcional: Se o logo ATRONIA ainda estiver a empurrar muito, reduzimos o seu container */
    .mw-header-start {
        flex: 0 0 auto !important;
        max-width: 100px !important;
     }
     }
}
}