Ir para o conteúdo

MediaWiki:Vector.css: mudanças entre as edições

De Wiki TokuDrive
Corrigindo logo para cor original
Corrigindo logo única e infobox estilo wiki
 
(8 revisões intermediárias pelo mesmo usuário não estão sendo mostradas)
Linha 1: Linha 1:




/* === TOKUDRIVE_FIX_LOGO_INFOBOX_BEGIN === */


/* === TOKUDRIVE_LOGO_COR_ORIGINAL_FIX_BEGIN === */
/* Corrige topo: mostra apenas a wordmark, sem duplicar logo */
 
.mw-logo {
/* Usa a logo original, sem alterar cor */
   min-width: 190px !important;
.mw-logo,
   width: 190px !important;
.vector-header-start .mw-logo {
   height: 58px !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  padding: 0 8px !important;
   min-width: 285px !important;
   width: 285px !important;
   height: 76px !important;
   display: flex !important;
   display: flex !important;
   align-items: center !important;
   align-items: center !important;
Linha 25: Linha 14:
.mw-logo-icon {
.mw-logo-icon {
   display: none !important;
   display: none !important;
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}
}


.mw-logo-wordmark {
.mw-logo-wordmark {
  content: url("/resources/assets/wiki-logo-original-cor-1782668608.png") !important;
   width: 170px !important;
   width: 250px !important;
   height: 50px !important;
   height: 70px !important;
   max-width: 170px !important;
   max-width: 250px !important;
   max-height: 50px !important;
   max-height: 70px !important;
   object-fit: contain !important;
   object-fit: contain !important;
   object-position: left center !important;
   object-position: left center !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}
}


Linha 50: Linha 29:
}
}


/* Vector clássico, caso esteja usando p-logo */
/* Infobox igual wiki: à direita, com borda e cabeçalho */
#p-logo a {
.infobox {
   background-image: url("/resources/assets/wiki-logo-original-cor-1782668608.png") !important;
  float: right !important;
   background-size: contain !important;
  clear: right !important;
   background-repeat: no-repeat !important;
  width: 22em !important;
   background-position: center center !important;
  margin: 0 0 1em 1em !important;
   filter: none !important;
   background: #f8f9fa !important;
   opacity: 1 !important;
  border: 1px solid #a2a9b1 !important;
   mix-blend-mode: normal !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;
}
}


/* Evita que modo escuro do browser/skin altere imagens da logo */
.infobox th {
.mw-logo img,
  background: #eaecf0 !important;
.mw-logo-wordmark img,
  text-align: center !important;
#p-logo img {
  font-weight: bold !important;
   filter: none !important;
}
   opacity: 1 !important;
 
   mix-blend-mode: normal !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_LOGO_COR_ORIGINAL_FIX_END === */
/* === 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 === */