MediaWiki:Vector-2022.css: Difference between revisions
Appearance
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
| (31 intermediate revisions by the same user not shown) | |||
| Line 2,134: | Line 2,134: | ||
color: white; /* or currentColor */ | color: white; /* or currentColor */ | ||
} | } | ||
.mw-ui-icon-wikimedia-ellipsis { | |||
-webkit-mask-image: none !important; | |||
mask-image: none !important; | |||
background: none !important; | |||
width: 2rem !important; | |||
} | |||
/* Inject Material icon */ | |||
.mw-ui-icon-wikimedia-ellipsis::before { | |||
content: "account_circle"; | |||
font-family: "Material Symbols Rounded"; | |||
font-weight: normal; | |||
font-style: normal; | |||
font-size: 20px; | |||
display: inline-block; | |||
line-height: 1; | |||
font-variation-settings: | |||
"FILL" 1, | |||
"wght" 400, | |||
"GRAD" 0, | |||
"opsz" 24; | |||
color: white; /* or currentColor */ | |||
} | |||
.mw-ui-icon-wikimedia-ellipsis::after { | |||
content: "keyboard_arrow_down"; | |||
font-family: "Material Symbols Rounded"; | |||
font-weight: normal; | |||
font-style: normal; | |||
font-size: 20px; | |||
display: inline-block; | |||
line-height: 1; | |||
letter-spacing: normal; | |||
color: white; /* or currentColor */ | |||
} | |||
/* Remove MediaWiki mask system */ | /* Remove MediaWiki mask system */ | ||
#vector-page-titlebar-toc-label > .mw-ui-icon-wikimedia-listBullet { | #vector-page-titlebar-toc-label > .mw-ui-icon-wikimedia-listBullet { | ||
| Line 2,301: | Line 2,342: | ||
@media screen and (max-width: 720px) { | @media screen and (max-width: 720px) { | ||
.mw-header .mw-logo-icon { | .mw-header .mw-logo-icon { | ||
width: | width: 120px !important; /* Ajusta este valor para o tamanho que gostares */ | ||
height: auto !important; | height: auto !important; | ||
max-height: 24px !important; /* Limita a altura para não empurrar o cabeçalho */ | max-height: 24px !important; /* Limita a altura para não empurrar o cabeçalho */ | ||
| Line 2,318: | Line 2,359: | ||
/* --- REDUZIR ALTURA DA ZONA ROXA (Cabeçalho) --- */ | |||
/* --- | |||
@media screen and (max-width: 720px) { | @media screen and (max-width: 720px) { | ||
/* 1. | /* 1. Remove a altura mínima e reduz o padding vertical */ | ||
. | .mw-header { | ||
min-height: 50px !important; /* Estava em 72px ou mais */ | |||
padding-top: 5px !important; | |||
padding-bottom: 5px !important; | |||
height: auto !important; | |||
} | } | ||
/* 2. | /* 2. Ajusta o container do topo para não forçar espaço extra */ | ||
.vector-header-container { | |||
height: auto !important; | |||
min-height: 50px !important; | |||
} | } | ||
/* 3. | /* 3. Centraliza verticalmente o logo e os ícones para ficarem perfeitos */ | ||
.mw-header-start, | |||
.vector-header-end { | .vector-header-end { | ||
align-items: center !important; | |||
display: flex !important; | display: flex !important; | ||
} | } | ||
} | } | ||