Ir para o conteúdo

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

De Wiki TokuDrive
Adicionando fundo suave atrás da logo
Corrigindo logo única e infobox estilo wiki
 
(2 revisões intermediárias pelo mesmo usuário não estão sendo mostradas)
Linha 1: Linha 1:




/* === TOKUDRIVE_LOGO_BG_BEGIN === */
/* === TOKUDRIVE_FIX_LOGO_INFOBOX_BEGIN === */


/* Fundo bonito atrás da logo no topo */
/* Corrige topo: mostra apenas a wordmark, sem duplicar logo */
.mw-logo {
.mw-logo {
   min-width: 210px !important;
   min-width: 190px !important;
   width: 210px !important;
   width: 190px !important;
   height: 64px !important;
   height: 58px !important;
   display: flex !important;
   display: flex !important;
   align-items: center !important;
   align-items: center !important;
  justify-content: center !important;
  padding: 6px 10px !important;
  border-radius: 14px !important;
  background:
    linear-gradient(135deg, rgba(229,9,20,0.10), rgba(54,108,204,0.08)),
    linear-gradient(180deg, #ffffff, #f6f7f9) !important;
  border: 1px solid #d8dde3 !important;
  box-shadow:
    0 4px 14px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.8) !important;
}
}


/* some o ícone separado */
.mw-logo-icon {
.mw-logo-icon {
   display: none !important;
   display: none !important;
}
}


/* tamanho da wordmark */
.mw-logo-wordmark {
.mw-logo-wordmark {
   width: 180px !important;
   width: 170px !important;
   height: 52px !important;
   height: 50px !important;
   max-width: 180px !important;
   max-width: 170px !important;
   max-height: 52px !important;
   max-height: 50px !important;
   object-fit: contain !important;
   object-fit: contain !important;
   object-position: center center !important;
   object-position: left center !important;
}
}


/* remove slogan */
.mw-logo-tagline {
.mw-logo-tagline {
   display: none !important;
   display: none !important;
}
}


/* mobile */
/* 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) {
@media (max-width: 900px) {
   .mw-logo {
   .mw-logo {
     min-width: 170px !important;
     min-width: 155px !important;
     width: 170px !important;
     width: 155px !important;
     height: 52px !important;
     height: 46px !important;
    padding: 4px 8px !important;
    border-radius: 12px !important;
   }
   }


   .mw-logo-wordmark {
   .mw-logo-wordmark {
     width: 150px !important;
     width: 145px !important;
     height: 42px !important;
     height: 42px !important;
     max-width: 150px !important;
     max-width: 145px !important;
     max-height: 42px !important;
     max-height: 42px !important;
  }
  .infobox {
    float: none !important;
    width: 100% !important;
    margin: 0 0 1em 0 !important;
   }
   }
}
}


/* === TOKUDRIVE_LOGO_BG_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 === */