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
 
(20 revisões intermediárias pelo mesmo usuário não estão sendo mostradas)
Linha 1: Linha 1:
/* Fonte moderna */
/* FONTE BASE */
body {
body {
   font-family: 'Inter', 'Roboto', sans-serif;
  background-color: #f6f6f6;
   background-color: #121212;
   font-family: 'Segoe UI', 'Inter', sans-serif;
   color: #e0e0e0;
   color: #111;
   font-size: 16px;
   line-height: 1.6;
   line-height: 1.6;
   font-size: 16px;
   margin: 0;
}
 
/* LOGO */
#p-logo {
  background: url('/caminho/para/sua-logo.png') no-repeat center;
  background-size: contain;
  height: 100px;
  width: 180px;
}
}


/* Cabeçalho */
/* CONTEÚDO PRINCIPAL */
#mw-head, #p-personal {
#content, .mw-body {
   background-color: #1e1e1e;
   background-color: #fff;
   border-bottom: 1px solid #333;
   border-radius: 10px;
  padding: 32px;
  margin-top: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
}


/* Barra lateral */
/* TÍTULOS */
#mw-panel {
h1, h2, h3, h4 {
   background-color: #1a1a1a;
   font-weight: 600;
   border-right: 1px solid #333;
  color: #111;
   border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}
}


/* Links */
/* LINKS */
a {
a {
   color: #ff6600;
   color: #ff6600;
   text-decoration: none;
   text-decoration: none;
  transition: color 0.3s ease;
}
}
a:hover {
a:hover {
  color: #ffa64d;
   text-decoration: underline;
   text-decoration: underline;
}
}


/* Títulos */
/* MENU LATERAL - FUNDO LARANJA, TEXTO BRANCO */
h1, h2, h3, h4, h5 {
#mw-panel {
   color: #ffffff;
  background-color: #f68b1e;
   border-bottom: 1px solid #333;
  color: #fff;
   padding-bottom: 4px;
  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;
}
}


/* Botões */
#mw-panel .portal ul {
input[type="submit"], button, .mw-ui-button {
  list-style: none;
   background-color: #ff6600;
   padding-left: 0;
}
 
#mw-panel .portal ul li a {
   color: #fff;
   color: #fff;
   border: none;
  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;
   border-radius: 6px;
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.3s ease;
}
}
input[type="submit"]:hover, button:hover, .mw-ui-button:hover {
#p-personal a {
   background-color: #e65c00;
  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 */
 
/* TABELAS */
table {
table {
  width: 100%;
   border-collapse: collapse;
   border-collapse: collapse;
   width: 100%;
   margin: 20px 0;
}
}
th, td {
table th, table td {
   border: 1px solid #333;
   border: 1px solid #ccc;
   padding: 10px;
   padding: 10px;
}
}
th {
table th {
   background-color: #1e1e1e;
   background-color: #f3f3f3;
   color: #ff6600;
   font-weight: bold;
}
}


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


/* Caixa de edição */
/* BOTÕES */
textarea, input[type="text"] {
.mw-ui-button {
   background-color: #1e1e1e;
   background-color: #ff6600;
   color: #e0e0e0;
   color: white;
   border: 1px solid #333;
  padding: 10px 18px;
   border-radius: 4px;
   border: none;
   padding: 6px;
   border-radius: 6px;
  cursor: pointer;
   font-weight: bold;
}
.mw-ui-button:hover {
  background-color: #e05500;
}
}


/* Ocultar o logotipo padrão (caso queira usar um personalizado) */
/* MOBILE */
@media screen and (max-width: 768px) {
  #mw-panel {
    display: none;
  }
  #content, .mw-body {
    margin: 0;
    padding: 16px;
  }
}
#p-logo {
#p-logo {
  background: none !important;
   background-image: url('https://big2be.tech/wp-content/uploads/2023/01/Big2Be-Especialistas-em-entender-o-seu-consumidor-2-1024x367.png');
}
 
/* Adicionar um logo personalizado */
#p-logo a {
  display: block;
   background-image: url('/wiki/Especial:Arquivo/logo.png');
   background-size: contain;
   background-size: contain;
   background-repeat: no-repeat;
   background-repeat: no-repeat;
   background-position: center;
   background-position: center;
   height: 60px;
  width: 220px;
   height: 80px;
}
}

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;
}