Ir para o conteúdo

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

De Big2be
Sem resumo de edição
Sem resumo de edição
 
(19 revisões intermediárias pelo mesmo usuário não estão sendo mostradas)
Linha 1: Linha 1:
/* Fonte moderna */
/* FONTE BASE */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600&display=swap');
 
body {
body {
   font-family: 'Space Grotesk', sans-serif;
  background-color: #f6f6f6;
  background-color: #f9f9f9;
   font-family: 'Segoe UI', 'Inter', sans-serif;
   color: #111;
   color: #111;
   font-size: 16px;
   font-size: 16px;
   line-height: 1.7;
   line-height: 1.6;
   margin: 0;
   margin: 0;
  padding: 0;
}
}


/* Container principal */
/* LOGO */
#content {
#p-logo {
   max-width: 1000px;
   background: url('/caminho/para/sua-logo.png') no-repeat center;
  margin: 40px auto;
   background-size: contain;
  padding: 40px;
   height: 100px;
   background: white;
   width: 180px;
   border: 1px solid #ccc;
   border-radius: 12px;
  box-shadow: 4px 4px 0px #000;
}
}


/* Cabeçalho */
/* CONTEÚDO PRINCIPAL */
#mw-head {
#content, .mw-body {
   background-color: #fff;
   background-color: #fff;
   border-bottom: 2px solid #000;
   border-radius: 10px;
   padding: 20px;
   padding: 32px;
  margin-top: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
}
#p-personal {
 
   display: none;
/* TÍTULOS */
h1, h2, h3, h4 {
  font-weight: 600;
  color: #111;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}
 
/* LINKS */
a {
   color: #ff6600;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
}


/* Barra lateral */
/* MENU LATERAL - FUNDO LARANJA, TEXTO BRANCO */
#mw-panel {
#mw-panel {
   background-color: #fff;
   background-color: #f68b1e;
   border-right: 2px solid #000;
   color: #fff;
   padding-top: 20px;
   padding: 12px;
}
   border-radius: 0 0 12px 0;
#mw-panel .portal {
   box-shadow: 2px 2px 8px rgba(0,0,0,0.05);
   border: none;
   margin-bottom: 16px;
}
}
#mw-panel .portal h3 {
#mw-panel .portal h3 {
   font-size: 14px;
   color: #fff;
   font-weight: bold;
   font-size: 13px;
  color: #111;
   text-transform: uppercase;
   text-transform: uppercase;
  margin: 16px 0 8px;
  font-weight: 600;
}
}
#mw-panel .body ul {
 
#mw-panel .portal ul {
   list-style: none;
   list-style: none;
   padding-left: 0;
   padding-left: 0;
}
}
#mw-panel .body ul li a {
 
   color: #0066ff;
#mw-panel .portal ul li a {
   text-decoration: none;
   color: #fff;
  display: block;
  padding: 6px 8px;
   border-radius: 4px;
  transition: background-color 0.3s ease;
}
}
#mw-panel .body ul li a:hover {
 
   text-decoration: underline;
#mw-panel .portal ul li a:hover {
   background-color: #e27c10;
}
}


/* Títulos */
/* TOPO */
h1, h2, h3, h4 {
#mw-head-base, #mw-page-base {
  color: #000;
   background: #111;
  border-bottom: 2px solid #000;
  padding-bottom: 4px;
   margin-top: 40px;
}
}


/* Links */
/* PERSONAL BAR */
a {
#p-personal {
   color: #0066ff;
   background-color: #222;
   text-decoration: none;
   padding: 8px;
   transition: all 0.2s ease;
   border-radius: 6px;
}
}
a:hover {
#p-personal a {
   color: #0033aa;
   color: #fff !important;
  text-decoration: underline;
}
}


/* Botões */
#footer,
input[type="submit"], .mw-ui-button, button {
#footer * {
   background: #000;
   background-color: #ffffff !important;
   color: #fff;
   color: #333 !important;
  padding: 10px 18px;
   border-top: 3px solid #ff6600 !important;
  border: none;
   border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
}
}
input[type="submit"]:hover, .mw-ui-button:hover, button:hover {
 
   background: #333;
#footer a {
   color: #ff6600 !important;
}
}


/* Rodapé */
#footer-icons {
#footer {
   background: transparent !important;
   background-color: #f1f1f1;
  text-align: center;
  padding: 20px;
  font-size: 13px;
  color: #555;
  border-top: 2px solid #000;
}
}


/* Tabelas */
 
/* TABELAS */
table {
table {
   width: 100%;
   width: 100%;
   border-collapse: collapse;
   border-collapse: collapse;
   margin: 24px 0;
   margin: 20px 0;
}
}
th, td {
table th, table td {
   border: 1px solid #ccc;
   border: 1px solid #ccc;
   padding: 12px;
   padding: 10px;
   text-align: left;
}
table th {
  background-color: #f3f3f3;
   font-weight: bold;
}
}
th {
 
   background-color: #eee;
/* INFOS LATERAIS */
.infobox {
  float: right;
  margin: 0 0 10px 10px;
  padding: 15px;
  border: 1px solid #ccc;
   background-color: #fffdf6;
  width: 280px;
  border-radius: 8px;
}
}


/* Área de edição */
/* BOTÕES */
textarea, input[type="text"], input[type="search"] {
.mw-ui-button {
   border: 2px solid #000;
   background-color: #ff6600;
   padding: 10px;
  color: white;
   padding: 10px 18px;
  border: none;
   border-radius: 6px;
   border-radius: 6px;
   width: 100%;
   cursor: pointer;
   background-color: #fff;
   font-weight: bold;
   font-family: 'Space Grotesk', sans-serif;
}
.mw-ui-button:hover {
   background-color: #e05500;
}
}


/* Logotipo customizado opcional */
/* MOBILE */
#p-logo a {
@media screen and (max-width: 768px) {
   display: block;
  #mw-panel {
   background-image: url('/wiki/Especial:Arquivo/logo_nova.png');
    display: none;
   }
  #content, .mw-body {
    margin: 0;
    padding: 16px;
  }
}
#p-logo {
   background-image: url('https://big2be.tech/wp-content/uploads/2023/01/Big2Be-Especialistas-em-entender-o-seu-consumidor-2-1024x367.png');
   background-size: contain;
   background-size: contain;
   background-repeat: no-repeat;
   background-repeat: no-repeat;
   background-position: center;
   background-position: center;
  height: 70px;
   width: 220px;
   width: 160px;
   height: 80px;
   margin: auto;
}
 
/* Remoção de detalhes visuais antigos */
#toc, .mw-portlet-empty {
  background: none !important;
  border: none !important;
}
}

Edição atual tal como às 09h57min de 22 de julho de 2025

/* FONTE BASE */
body {
  background-color: #f6f6f6;
  font-family: 'Segoe UI', 'Inter', sans-serif;
  color: #111;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* LOGO */
#p-logo {
  background: url('/caminho/para/sua-logo.png') no-repeat center;
  background-size: contain;
  height: 100px;
  width: 180px;
}

/* CONTEÚDO PRINCIPAL */
#content, .mw-body {
  background-color: #fff;
  border-radius: 10px;
  padding: 32px;
  margin-top: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* TÍTULOS */
h1, h2, h3, h4 {
  font-weight: 600;
  color: #111;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}

/* LINKS */
a {
  color: #ff6600;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* MENU LATERAL - FUNDO LARANJA, TEXTO BRANCO */
#mw-panel {
  background-color: #f68b1e;
  color: #fff;
  padding: 12px;
  border-radius: 0 0 12px 0;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.05);
}

#mw-panel .portal h3 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  margin: 16px 0 8px;
  font-weight: 600;
}

#mw-panel .portal ul {
  list-style: none;
  padding-left: 0;
}

#mw-panel .portal ul li a {
  color: #fff;
  display: block;
  padding: 6px 8px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

#mw-panel .portal ul li a:hover {
  background-color: #e27c10;
}

/* TOPO */
#mw-head-base, #mw-page-base {
  background: #111;
}

/* PERSONAL BAR */
#p-personal {
  background-color: #222;
  padding: 8px;
  border-radius: 6px;
}
#p-personal a {
  color: #fff !important;
}

#footer,
#footer * {
  background-color: #ffffff !important;
  color: #333 !important;
  border-top: 3px solid #ff6600 !important;
}

#footer a {
  color: #ff6600 !important;
}

#footer-icons {
  background: transparent !important;
}


/* TABELAS */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
table th, table td {
  border: 1px solid #ccc;
  padding: 10px;
}
table th {
  background-color: #f3f3f3;
  font-weight: bold;
}

/* INFOS LATERAIS */
.infobox {
  float: right;
  margin: 0 0 10px 10px;
  padding: 15px;
  border: 1px solid #ccc;
  background-color: #fffdf6;
  width: 280px;
  border-radius: 8px;
}

/* BOTÕES */
.mw-ui-button {
  background-color: #ff6600;
  color: white;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}
.mw-ui-button:hover {
  background-color: #e05500;
}

/* MOBILE */
@media screen and (max-width: 768px) {
  #mw-panel {
    display: none;
  }
  #content, .mw-body {
    margin: 0;
    padding: 16px;
  }
}
#p-logo {
  background-image: url('https://big2be.tech/wp-content/uploads/2023/01/Big2Be-Especialistas-em-entender-o-seu-consumidor-2-1024x367.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 220px;
  height: 80px;
}