MediaWiki:Vector-2022.css: Difference between revisions
Appearance
No edit summary |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
/* 2. | /* 2. ESTRELA (BARRA SUPERIOR) */ | ||
#ca-watch .vector-icon, | #ca-watch .vector-icon, #ca-unwatch .vector-icon { display: none !important; } | ||
#ca-unwatch .vector-icon { | #ca-watch a::before, #ca-unwatch a::before { | ||
font-family: 'Material Symbols Rounded' !important; | |||
} | |||
#ca-watch a::before, | |||
#ca-unwatch a::before { | |||
font-family: 'Material Symbols Rounded' !important; | |||
font-size: 24px; | font-size: 24px; | ||
color: #000000; | color: #000000; | ||
| Line 16: | Line 11: | ||
height: 28px; | height: 28px; | ||
vertical-align: middle; | vertical-align: middle; | ||
} | } | ||
#ca-watch a::before { content: "star"; font-variation-settings: 'FILL' 0; } | |||
#ca-unwatch a::before { content: "star"; font-variation-settings: 'FILL' 1; } | |||
/* 3. MENU DROPDOWN (PERFIL) */ | |||
#p-personal .vector-icon, #p-user-menu-content .vector-icon { display: none !important; } | |||
# | /* Estilo do link para aproximar icon e texto e remover sublinhado do icon */ | ||
#p-personal li a, #p-user-menu-content li a { | |||
display: flex !important; | |||
align-items: center !important; | |||
text-decoration: none !important; /* Remove sublinhado global */ | |||
font-size: 0 !important; /* Esconde resíduos de texto do Material Symbols */ | |||
gap: 8px; /* CONTROLA A DISTÂNCIA AQUI - diminua se quiser mais perto */ | |||
} | |||
/* | /* Aplica o sublinhado APENAS no texto quando passa o rato */ | ||
#p-personal | #p-personal li a:hover span, #p-user-menu-content li a:hover span { | ||
#p-user-menu-content | text-decoration: underline !important; | ||
} | } | ||
#p-personal li a::before, | /* Estilo dos ícones */ | ||
#p-user-menu-content li a::before { | #p-personal li a::before, #p-user-menu-content li a::before { | ||
font-family: 'Material Symbols Outlined' !important; | font-family: 'Material Symbols Outlined' !important; | ||
font-size: 20px; | font-size: 20px; | ||
color: #000000; | color: #000000; | ||
display: inline-block; | display: inline-block; | ||
text-align: center; | text-align: center; | ||
font-variation-settings: 'FILL' 0; | font-variation-settings: 'FILL' 0; | ||
text-decoration: none !important; /* Garante que o icon nunca sublinhe */ | |||
} | } | ||
/* | /* IDs dos ícones */ | ||
#pt-userpage a::before { content: "person"; } | #pt-userpage a::before { content: "person"; } | ||
#pt-mytalk a::before { content: "chat_bubble"; } | #pt-mytalk a::before { content: "chat_bubble"; } | ||
| Line 47: | Line 49: | ||
#pt-watchlist a::before { content: "visibility"; } | #pt-watchlist a::before { content: "visibility"; } | ||
#pt-mycontris a::before { content: "history_edu"; } | #pt-mycontris a::before { content: "history_edu"; } | ||
#pt-logout a::before { content: "logout"; } | |||
/* 4. | /* 4. TEXTO DOS LINKS */ | ||
# | #p-personal li a span, #p-user-menu-content li a span { | ||
font-size: 14px !important; | |||
color: #202122; /* Cor padrão do texto */ | |||
font-size: | |||
color: # | |||
} | } | ||