MediaWiki:Vector-2022.css: Difference between revisions
Appearance
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; | ||
} | |||
} | |||
/* AJUSTE PARA CABER O LOGIN NA VERTICAL */ | |||
@media screen and (max-width: 720px) { | |||
/* 1. Reduz o espaço do container do logo para sobrar largura à direita */ | |||
.mw-header-start { | |||
flex: 0 1 auto !important; /* Não deixa o logo "empurrar" os outros */ | |||
max-width: 130px !important; | |||
gap: 5px !important; | |||
} | |||
/* 2. Garante que o container de links (onde está o Login) não desaparece */ | |||
.vector-user-links { | |||
display: flex !important; | |||
flex: 1 0 auto !important; | |||
justify-content: flex-end !important; | |||
} | |||
/* 3. Se o botão de Login for um link simples (pt-login), garante que ele aparece */ | |||
#pt-login, .user-links-collapsible-item { | |||
display: inline-block !important; | |||
visibility: visible !important; | |||
} | |||
/* 4. Reduz o tamanho da lupa para ganhar mais 10-20px de espaço */ | |||
.search-toggle { | |||
padding: 0 4px !important; | |||
} | } | ||
} | } | ||