MediaWiki:Vector-2022.css: Difference between revisions
Appearance
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 2,320: | Line 2,320: | ||
/* --- | /* --- AJUSTE FINO: ÍCONES PRÓXIMOS E EM LINHA --- */ | ||
@media screen and (max-width: 720px) { | @media screen and (max-width: 720px) { | ||
/* 1. | /* 1. Remove o "empurrão" dos containers */ | ||
.mw-header { | .vector-header-end, | ||
.mw-header-end, | |||
#p-search { | |||
flex: 0 1 auto !important; | |||
width: auto !important; | |||
min-width: 0 !important; | |||
} | |||
/* 2. Aproxima os ícones (Lupa, Ferramentas, User) */ | |||
.vector-header-end { | |||
display: flex !important; | display: flex !important; | ||
justify-content: flex-end !important; | |||
gap: 4px !important; /* Reduzido de 12px para 4px para ficarem colados */ | |||
margin-left: auto !important; | |||
} | } | ||
/* | /* 3. Garante que o botão de pesquisa não tem margens extras */ | ||
.search-toggle { | |||
padding: 0 4px !important; | |||
margin: 0 !important; | |||
} | |||
/* 4. Reduz o logo só mais um pouco para dar "ar" aos ícones */ | |||
.mw-header .mw-logo-icon { | .mw-header .mw-logo-icon { | ||
width: | width: 75px !important; | ||
max-height: 20px !important; | |||
max-height: | |||
} | } | ||
/* | /* 5. Esconde o texto do Login/User de forma absoluta */ | ||
.vector-user-links-main .mw-list-item span:not(.vector-icon), | .vector-user-links-main .mw-list-item span:not(.vector-icon), | ||
.vector-user-links-main .cdx-button__label { | |||
display: none !important; | display: none !important; | ||
} | } | ||
} | } | ||