MediaWiki:Common.css: mudanças entre as edições
Aparência
Visual escuro estável da Wiki TokuDrive |
Corrigindo logo única e infobox estilo wiki |
||
| (10 revisões intermediárias pelo mesmo usuário não estão sendo mostradas) | |||
| Linha 1: | Linha 1: | ||
/* === TOKUDRIVE_FIX_LOGO_INFOBOX_BEGIN === */ | |||
/* | /* Corrige topo: mostra apenas a wordmark, sem duplicar logo */ | ||
.mw-logo { | |||
min-width: 190px !important; | |||
width: 190px !important; | |||
height: 58px !important; | |||
display: flex !important; | |||
align-items: center !important; | |||
} | } | ||
.mw-logo-icon { | |||
display: none !important; | |||
} | } | ||
.mw-logo-wordmark { | |||
width: 170px !important; | |||
height: 50px !important; | |||
max-width: 170px !important; | |||
max-height: 50px !important; | |||
object-fit: contain !important; | |||
object-position: left center !important; | |||
} | } | ||
.mw-logo-tagline { | |||
. | |||
display: none !important; | display: none !important; | ||
} | } | ||
/* | /* Infobox igual wiki: à direita, com borda e cabeçalho */ | ||
.infobox { | |||
float: right !important; | |||
clear: right !important; | |||
width: 22em !important; | |||
margin: 0 0 1em 1em !important; | |||
background: #f8f9fa !important; | |||
border: 1px solid #a2a9b1 !important; | |||
border-spacing: 3px !important; | |||
color: #202122 !important; | |||
font-size: 88% !important; | |||
line-height: 1.5em !important; | |||
. | |||
background | |||
border | |||
border- | |||
color: # | |||
. | |||
} | } | ||
.infobox th, | .infobox th, | ||
. | .infobox td { | ||
vertical-align: top !important; | |||
color: | padding: 4px 6px !important; | ||
color: #202122 !important; | |||
} | } | ||
.infobox th { | .infobox th { | ||
background: #eaecf0 !important; | |||
text-align: center !important; | |||
font-weight: bold !important; | |||
} | } | ||
.infobox { | .infobox .infobox-above, | ||
.infobox .infobox-title { | |||
background: #ccccff !important; | |||
text-align: center !important; | |||
font-size: 125% !important; | |||
font-weight: bold !important; | |||
font-size: | |||
} | } | ||
.infobox td, | .infobox .td-infobox-image, | ||
.infobox | .infobox .infobox-image { | ||
text-align: center !important; | |||
background: #f8f9fa !important; | |||
} | } | ||
. | .infobox img { | ||
max-width: 220px !important; | |||
height: auto !important; | |||
} | } | ||
/* Tabelas padrão wiki */ | |||
.wikitable { | |||
. | background: #f8f9fa !important; | ||
background: # | color: #202122 !important; | ||
color: | border: 1px solid #a2a9b1 !important; | ||
border- | border-collapse: collapse !important; | ||
margin: 1em 0 !important; | |||
} | } | ||
.wikitable th { | |||
background: #eaecf0 !important; | |||
. | font-weight: bold !important; | ||
background: | |||
} | } | ||
.wikitable th, | |||
. | .wikitable td { | ||
border: 1px solid #a2a9b1 !important; | |||
padding: 0.35em 0.55em !important; | |||
} | } | ||
/* | /* Remove aviso antigo de importação */ | ||
.td-sourcebox { | .td-sourcebox { | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* Remove erros técnicos visuais de módulos importados */ | |||
.mw-parser-output .scribunto-error, | .mw-parser-output .scribunto-error, | ||
.mw-parser-output strong.error, | .mw-parser-output strong.error, | ||
| Linha 304: | Linha 107: | ||
} | } | ||
@media (max-width: 900px) { | @media (max-width: 900px) { | ||
.mw-logo { | |||
min-width: 155px !important; | |||
width: 155px !important; | |||
height: 46px !important; | |||
} | } | ||
. | .mw-logo-wordmark { | ||
width: 145px !important; | |||
width: | height: 42px !important; | ||
max-width: 145px !important; | |||
max-height: 42px !important; | |||
} | } | ||
. | .infobox { | ||
float: none !important; | |||
width: 100% !important; | |||
margin: 0 0 1em 0 !important; | |||
} | } | ||
} | } | ||
/* === TOKUDRIVE_FIX_LOGO_INFOBOX_END === */ | |||
Edição atual tal como às 01h11min de 29 de junho de 2026
/* === TOKUDRIVE_FIX_LOGO_INFOBOX_BEGIN === */
/* Corrige topo: mostra apenas a wordmark, sem duplicar logo */
.mw-logo {
min-width: 190px !important;
width: 190px !important;
height: 58px !important;
display: flex !important;
align-items: center !important;
}
.mw-logo-icon {
display: none !important;
}
.mw-logo-wordmark {
width: 170px !important;
height: 50px !important;
max-width: 170px !important;
max-height: 50px !important;
object-fit: contain !important;
object-position: left center !important;
}
.mw-logo-tagline {
display: none !important;
}
/* Infobox igual wiki: à direita, com borda e cabeçalho */
.infobox {
float: right !important;
clear: right !important;
width: 22em !important;
margin: 0 0 1em 1em !important;
background: #f8f9fa !important;
border: 1px solid #a2a9b1 !important;
border-spacing: 3px !important;
color: #202122 !important;
font-size: 88% !important;
line-height: 1.5em !important;
}
.infobox th,
.infobox td {
vertical-align: top !important;
padding: 4px 6px !important;
color: #202122 !important;
}
.infobox th {
background: #eaecf0 !important;
text-align: center !important;
font-weight: bold !important;
}
.infobox .infobox-above,
.infobox .infobox-title {
background: #ccccff !important;
text-align: center !important;
font-size: 125% !important;
font-weight: bold !important;
}
.infobox .td-infobox-image,
.infobox .infobox-image {
text-align: center !important;
background: #f8f9fa !important;
}
.infobox img {
max-width: 220px !important;
height: auto !important;
}
/* Tabelas padrão wiki */
.wikitable {
background: #f8f9fa !important;
color: #202122 !important;
border: 1px solid #a2a9b1 !important;
border-collapse: collapse !important;
margin: 1em 0 !important;
}
.wikitable th {
background: #eaecf0 !important;
font-weight: bold !important;
}
.wikitable th,
.wikitable td {
border: 1px solid #a2a9b1 !important;
padding: 0.35em 0.55em !important;
}
/* Remove aviso antigo de importação */
.td-sourcebox {
display: none !important;
}
/* Remove erros técnicos visuais de módulos importados */
.mw-parser-output .scribunto-error,
.mw-parser-output strong.error,
.mw-parser-output span.error {
display: none !important;
}
@media (max-width: 900px) {
.mw-logo {
min-width: 155px !important;
width: 155px !important;
height: 46px !important;
}
.mw-logo-wordmark {
width: 145px !important;
height: 42px !important;
max-width: 145px !important;
max-height: 42px !important;
}
.infobox {
float: none !important;
width: 100% !important;
margin: 0 0 1em 0 !important;
}
}
/* === TOKUDRIVE_FIX_LOGO_INFOBOX_END === */