MediaWiki:Common.css
Aparência
Nota: Após publicar, você pode ter que limpar o "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)
- Edge: Pressione Ctrl enquanto clica Recarregar, ou pressione Ctrl-F5.
- Opera: Pressione Ctrl-F5.
/* ==========================================================
Wiki TokuDrive - Vector 2022 limpo
========================================================== */
/* Não força dark mode. Mantém layout padrão claro do Vector 2022. */
html,
body {
color-scheme: light !important;
}
/* Logo no topo sem quebrar a barra */
.mw-logo {
min-width: 210px !important;
width: 210px !important;
height: 64px !important;
display: flex !important;
align-items: center !important;
gap: 0 !important;
}
.mw-logo-icon {
display: none !important;
}
.mw-logo-wordmark {
width: 180px !important;
height: 52px !important;
max-width: 180px !important;
max-height: 52px !important;
object-fit: contain !important;
object-position: left center !important;
}
.mw-logo-tagline {
display: none !important;
}
/* Evita que logo fique gigante na home ou em cache */
#p-logo a {
background-size: contain !important;
}
/* Texto e títulos padrão Wikipédia */
.mw-page-title-main {
font-family: "Linux Libertine", Georgia, "Times New Roman", serif;
font-weight: normal;
}
a {
color: #36c;
}
a:visited {
color: #6b4ba1;
}
/* Remove aviso antigo de importação */
.td-sourcebox {
display: none !important;
}
/* Esconde erros técnicos de módulos importados sem esconder conteúdo normal */
.mw-parser-output .scribunto-error,
.mw-parser-output strong.error,
.mw-parser-output span.error {
display: none !important;
}
/* Infobox corrigida: sempre à direita como na Wikipédia */
.infobox {
float: right;
clear: right;
width: 22em;
margin: 0 0 1em 1em;
background: #f8f9fa;
border: 1px solid #a2a9b1;
border-spacing: 3px;
color: #202122;
font-size: 88%;
line-height: 1.5em;
}
.infobox caption {
font-size: 125%;
font-weight: bold;
padding: 0.2em;
}
.infobox th,
.infobox td {
vertical-align: top;
padding: 4px 6px;
}
.infobox th {
background: #eaecf0;
text-align: center;
font-weight: bold;
}
.infobox .infobox-above,
.infobox .infobox-title {
background: #ccccff;
text-align: center;
font-size: 125%;
font-weight: bold;
}
.infobox .td-infobox-image,
.infobox .infobox-image {
text-align: center;
background: #f8f9fa;
}
.infobox img {
max-width: 220px;
height: auto;
}
/* Tabelas padrão */
.wikitable {
background: #f8f9fa;
color: #202122;
border: 1px solid #a2a9b1;
border-collapse: collapse;
margin: 1em 0;
}
.wikitable > tr > th,
.wikitable > * > tr > th {
background: #eaecf0;
font-weight: bold;
}
.wikitable > tr > th,
.wikitable > tr > td,
.wikitable > * > tr > th,
.wikitable > * > tr > td {
border: 1px solid #a2a9b1;
padding: 0.35em 0.55em;
}
/* Home estilo portal da Wikipédia */
.td-wp-home {
max-width: 1280px;
margin: 0 auto;
}
.td-wp-welcome {
display: grid;
grid-template-columns: 1.25fr 1fr;
align-items: center;
gap: 20px;
border-bottom: 1px solid #a2a9b1;
padding: 28px 24px 26px;
margin-bottom: 14px;
}
.td-wp-welcome-title {
font-size: 230%;
color: #54595d;
font-variant: small-caps;
line-height: 1.15;
}
.td-wp-welcome-sub {
font-size: 125%;
color: #54595d;
}
.td-wp-stats {
text-align: center;
border-left: 1px solid #c8ccd1;
padding-left: 24px;
color: #202122;
}
.td-wp-toplinks {
margin-top: 18px;
font-size: 105%;
}
.td-wp-portals {
display: grid;
grid-template-columns: repeat(8, 1fr);
border: 1px solid #eaecf0;
margin: 10px 0 22px;
background: #f8f9fa;
text-align: center;
}
.td-wp-portals a {
display: block;
padding: 8px 4px;
border-right: 1px solid #eaecf0;
text-decoration: none;
color: #202122 !important;
}
.td-wp-portals a:hover {
background: #eaecf0;
}
.td-wp-portals a:nth-child(1) { border-top: 5px solid #8b941f; }
.td-wp-portals a:nth-child(2) { border-top: 5px solid #4c9a2a; }
.td-wp-portals a:nth-child(3) { border-top: 5px solid #159957; }
.td-wp-portals a:nth-child(4) { border-top: 5px solid #22a6b3; }
.td-wp-portals a:nth-child(5) { border-top: 5px solid #2d6cdf; }
.td-wp-portals a:nth-child(6) { border-top: 5px solid #5236b8; }
.td-wp-portals a:nth-child(7) { border-top: 5px solid #a3339c; }
.td-wp-portals a:nth-child(8) { border-top: 5px solid #aa2e2e; }
.td-wp-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0;
}
.td-wp-box {
border: 1px solid #a3b1a3;
background: #f5fff5;
padding: 12px;
margin-bottom: 14px;
}
.td-wp-box:nth-child(even) {
background: #f5faff;
border-color: #a3b1c2;
}
.td-wp-box h2 {
margin: 0 0 10px !important;
padding: 0.2em 0.4em !important;
border: 1px solid #a3b1a3 !important;
background: #cef2ce;
color: #202122;
font-size: 170%;
font-family: "Linux Libertine", Georgia, "Times New Roman", serif;
font-weight: normal;
}
.td-wp-box:nth-child(even) h2 {
background: #cedff2;
border-color: #a3b1c2 !important;
}
.td-wp-full {
border: 1px solid #a2a9b1;
background: #f8f9fa;
padding: 12px;
margin-top: 14px;
}
.td-wp-full h2 {
margin-top: 0 !important;
font-family: "Linux Libertine", Georgia, "Times New Roman", serif;
font-weight: normal;
}
/* Responsivo */
@media (max-width: 900px) {
.mw-logo {
min-width: 160px !important;
width: 160px !important;
height: 48px !important;
}
.mw-logo-wordmark {
width: 150px !important;
height: 44px !important;
max-width: 150px !important;
max-height: 44px !important;
}
.infobox {
float: none;
width: 100%;
margin: 0 0 1em 0;
}
.td-wp-welcome,
.td-wp-grid {
grid-template-columns: 1fr;
}
.td-wp-stats {
border-left: 0;
border-top: 1px solid #c8ccd1;
padding-left: 0;
padding-top: 16px;
}
.td-wp-portals {
grid-template-columns: repeat(2, 1fr);
}
}