Jump to content

MediaWiki:Vector-2022.css: Difference between revisions

No edit summary
No edit summary
Line 2,322: Line 2,322:




/* --- AJUSTE DE ALTURA SEM REMOVER O LOGO --- */
/* --- REDUZIR ALTURA DA ZONA ROXA (Cabeçalho) --- */
@media screen and (max-width: 720px) {
@media screen and (max-width: 720px) {
     /* 1. Reduz a altura da barra (zona roxa) de 14px para 6px de padding */
     /* 1. Remove a altura mínima e reduz o padding vertical */
     .mw-header {
     .mw-header {
         min-height: 48px !important;  
         min-height: 50px !important; /* Estava em 72px ou mais */
         padding-top: 6px !important;
         padding-top: 5px !important;
         padding-bottom: 6px !important;
         padding-bottom: 5px !important;
         height: auto !important;
         height: auto !important;
        display: flex !important;
        align-items: center !important;
     }
     }


     /* 2. Garante que o LOGO seja visível e tenha um tamanho fixo */
     /* 2. Ajusta o container do topo para não forçar espaço extra */
    .mw-header .mw-logo {
     .vector-header-container {
        display: flex !important;
        align-items: center !important;
        min-width: 80px !important; /* Protege o espaço do logo */
        max-height: 32px !important;
    }
 
     .mw-header .mw-logo-icon {
        display: block !important;
        width: 80px !important; /* Ajusta conforme o teu Lettering.svg */
         height: auto !important;
         height: auto !important;
         max-height: 28px !important;
         min-height: 50px !important;
    }
 
    /* 3. Mantém a pesquisa pequena e os ícones à direita */
    #p-search {
        flex: 0 0 35px !important;
        width: 35px !important;
     }
     }


    /* 3. Centraliza verticalmente o logo e os ícones para ficarem perfeitos */
    .mw-header-start,
     .vector-header-end {
     .vector-header-end {
         flex: 1 !important;
         align-items: center !important;
         display: flex !important;
         display: flex !important;
        justify-content: flex-end !important;
        gap: 8px !important;
     }
     }
}
}