MediaWiki:Common.css: mudanças entre as edições
Aparência
Modo escuro permanente e logo oficial da Wiki |
Corrigindo logo única e infobox estilo wiki |
||
| (13 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 { | .mw-logo { | ||
min-width: | min-width: 190px !important; | ||
width: | width: 190px !important; | ||
height: | height: 58px !important; | ||
display: flex !important; | display: flex !important; | ||
align-items: center !important; | align-items: center !important; | ||
} | } | ||
| Linha 128: | Linha 17: | ||
.mw-logo-wordmark { | .mw-logo-wordmark { | ||
width: | width: 170px !important; | ||
height: | height: 50px !important; | ||
max-width: | max-width: 170px !important; | ||
max-height: | max-height: 50px !important; | ||
object-fit: contain !important; | object-fit: contain !important; | ||
object-position: left center !important; | object-position: left center !important; | ||
} | } | ||
| Linha 141: | Linha 29: | ||
} | } | ||
/* | /* 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: | |||
} | } | ||
.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 */ | ||
border- | .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 { | .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 336: | Linha 107: | ||
} | } | ||
@media (max-width: 900px) { | |||
@media (max-width: | |||
.mw-logo { | .mw-logo { | ||
min-width: | min-width: 155px !important; | ||
width: | width: 155px !important; | ||
height: | height: 46px !important; | ||
} | } | ||
.mw-logo-wordmark { | .mw-logo-wordmark { | ||
width: | width: 145px !important; | ||
height: | height: 42px !important; | ||
max-width: | max-width: 145px !important; | ||
max-height: | max-height: 42px !important; | ||
} | } | ||
.infobox { | .infobox { | ||
float: none; | float: none !important; | ||
width: 100%; | width: 100% !important; | ||
margin: 0 0 1em 0; | 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 === */