MediaWiki:Vector-2022.css: Difference between revisions
Appearance
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 2,317: | Line 2,317: | ||
/* --- | |||
/* --- FIX FINAL PARA O LOGIN "CAÍDO" --- */ | |||
@media screen and (max-width: 720px) { | @media screen and (max-width: 720px) { | ||
/* 1. | /* 1. Impede que o container de links de utilizador se comporte como um dropdown flutuante */ | ||
. | .vector-user-links-main, | ||
.user-links-collapsible-item { | |||
position: static !important; /* Remove o posicionamento que o faz flutuar */ | |||
display: flex !important; | |||
align-items: center !important; | |||
margin: 0 !important; | |||
} | } | ||
/* 2. | /* 2. Força o botão de Log in a voltar para dentro da linha verde */ | ||
#pt-login-2, #pt-login { | |||
position: static !important; | |||
background: transparent !important; | |||
padding: 0 5px !important; | |||
display: flex !important; | |||
align-items: center !important; | |||
} | } | ||
/* 3. | /* 3. Ajuste do texto do Login para não empurrar os ícones */ | ||
# | #pt-login span { | ||
font-size: 12px !important; | |||
color: #ffffff !important; | |||
} | } | ||
/* 4. | /* 4. Garante que o container pai (header-end) não limite a altura */ | ||
.vector-header-end { | .vector-header-end { | ||
overflow: visible !important; | |||
display: flex !important; | display: flex !important; | ||
justify-content: flex-end !important; | justify-content: flex-end !important; | ||
align-items: center !important; | align-items: center !important; | ||
flex: 1 !important; | flex: 1 !important; | ||
} | } | ||
/* 5. Reduz a largura da pesquisa para o Login ter onde morar */ | |||
#p-search { | |||
/* | max-width: 40px !important; | ||
} | } | ||
} | } | ||