Utilizador:Albertoleoncio/common.css
Nota: Depois de publicar, poderá ter de contornar a cache do seu navegador para ver as alterações.
- Firefox / Safari: Pressione Shift enquanto clica Recarregar, ou pressione Ctrl-F5 ou Ctrl-R (⌘-R no Mac)
- Google Chrome: Pressione Ctrl-Shift-R (⌘-Shift-R no Mac)
- Internet Explorer / Edge: Pressione Ctrl enquanto clica Recarregar, ou pressione Ctrl-F5
- Opera: Pressione Ctrl-F5.
/* Insere fonte Lexend Deca (melhor que a fonte original) */
@import url('https://tools-static.wmflabs.org/fontcdn/css?family=Lexend+Deca&display=swap');
.pre-content h1, .mw-headline, .history-user, .mw-body .firstHeading, .mw-content-ltr, .mw-editform #wpTextbox1 {
font-family: 'Lexend Deca', sans-serif;
}
.mw-editform #wpTextbox1 {
font-size: initial;
}
#ca-proofreadPagePrevLink.icon a, #ca-proofreadPageNextLink.icon a, #ca-proofreadPageIndexLink.icon a {
padding-top: 2.4em;
}
/* Mudanças na barra de tradução */
.mw-pt-translate-header {
margin: 4px 10%;
border: 1px solid #FFB56B;
padding: 0.25em 0.9em;
display: flex;
align-items: center;
justify-content: flex-start;
gap: 1em;
font-size: 0;
}
.mw-pt-translate-header a,
.mw-pt-translate-header > span > a.external {
font-size: 13px;
margin: 0.5em;
text-transform: uppercase;
display: block;
background: #36c !important;
padding: 10px !important;
border-radius: 5px;
color: white;
font-weight: bold;
height: 1em;
line-height: 1em;
}
.mw-pt-translate-header::before {
content: '\26A0';
font-size: 60px;
margin: 10px;
color: darkgoldenrod;
line-height: 1;
}
.mw-pt-translate-header > span:nth-of-type(1) > a {
background-color: darkgoldenrod !important;
}
.mw-pt-translate-header > span:nth-of-type(2) > a {
background-color: black !important;
}
.mw-pt-translate-header > span:nth-of-type(2) > a::before {
content: '\1F5D8';
font-size: 18px;
margin-right: 0.5em;
}
.mw-pt-translate-header:not(.nomobile), /* Página já traduzida */
.mw-pt-translate-header:not(:has(span)) /* Sem tradução para marcar */
{
display: none;
}