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
 
(18 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');
 
/* === Estilo base === */
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;
  line-height: 1.6;
   margin: 0;
   margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.7;
}
}


/* === Remover elementos laterais === */
/* LOGO */
#mw-panel,
#p-logo {
#p-logo,
  background: url('/caminho/para/sua-logo.png') no-repeat center;
#mw-head-base,
  background-size: contain;
#mw-navigation {
  height: 100px;
   display: none !important;
   width: 180px;
}
}


/* === Tela cheia no conteúdo === */
/* CONTEÚDO PRINCIPAL */
#content,
#content, .mw-body {
#mw-content-text {
   background-color: #fff;
   width: 100%;
   border-radius: 10px;
   max-width: none;
   padding: 32px;
  margin: 0;
   margin-top: 20px;
   padding: 60px 10vw;
   box-shadow: 0 2px 10px rgba(0,0,0,0.05);
   box-sizing: border-box;
  background: white;
  border: none;
   box-shadow: none;
}
}


/* === Cabeçalho moderno === */
/* TÍTULOS */
#mw-head {
h1, h2, h3, h4 {
   display: flex;
   font-weight: 600;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 20px 10vw;
  border-bottom: 2px solid #000;
  position: sticky;
  top: 0;
  z-index: 1000;
}
#mw-head a {
   color: #111;
   color: #111;
  font-weight: 600;
   border-bottom: 1px solid #ddd;
  margin-right: 20px;
   padding-bottom: 5px;
}
 
/* === Títulos === */
h1, h2, h3, h4 {
  color: #000;
   border-bottom: 2px solid #000;
   padding-bottom: 4px;
  margin-top: 40px;
}
}


/* === Links === */
/* LINKS */
a {
a {
   color: #0066ff;
   color: #ff6600;
   text-decoration: none;
   text-decoration: none;
  transition: all 0.2s ease;
}
}
a:hover {
a:hover {
  color: #0033aa;
   text-decoration: underline;
   text-decoration: underline;
}
}


/* === Botões === */
/* MENU LATERAL - FUNDO LARANJA, TEXTO BRANCO */
input[type="submit"],
#mw-panel {
.mw-ui-button,
   background-color: #f68b1e;
button {
  color: #fff;
   background: #000;
  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;
   color: #fff;
  padding: 10px 18px;
   font-size: 13px;
  border: none;
  border-radius: 6px;
   font-weight: bold;
  cursor: pointer;
   text-transform: uppercase;
   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;
}
}
input[type="submit"]:hover,
 
.mw-ui-button:hover,
/* TOPO */
button:hover {
#mw-head-base, #mw-page-base {
   background: #333;
   background: #111;
}
}


/* === Tabelas === */
/* PERSONAL BAR */
table {
#p-personal {
   width: 100%;
   background-color: #222;
   border-collapse: collapse;
  padding: 8px;
   margin: 24px 0;
   border-radius: 6px;
}
#p-personal a {
   color: #fff !important;
}
}
th, td {
 
   border: 1px solid #ccc;
#footer,
   padding: 12px;
#footer * {
   text-align: left;
   background-color: #ffffff !important;
   color: #333 !important;
   border-top: 3px solid #ff6600 !important;
}
}
th {
 
   background-color: #eee;
#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;
}
}


/* === Áreas de formulário === */
 
textarea,
/* TABELAS */
input[type="text"],
table {
input[type="search"],
  width: 100%;
input[type="password"],
  border-collapse: collapse;
select {
  margin: 20px 0;
   border: 2px solid #000;
}
table th, table td {
   border: 1px solid #ccc;
   padding: 10px;
   padding: 10px;
  border-radius: 6px;
  width: 100%;
  background-color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  box-sizing: border-box;
}
}
 
table th {
/* === Oculta elementos vazios ou inúteis === */
  background-color: #f3f3f3;
.mw-portlet-empty,
  font-weight: bold;
#siteSub,
#contentSub,
#jump-to-nav {
  display: none;
}
}


/* === Ajuste para TOC (sumário) === */
/* INFOS LATERAIS */
#toc {
.infobox {
   background: #fff;
   float: right;
   border: 2px solid #000;
  margin: 0 0 10px 10px;
   padding: 20px;
  padding: 15px;
   margin: 40px 0;
   border: 1px solid #ccc;
   background-color: #fffdf6;
   width: 280px;
   border-radius: 8px;
   border-radius: 8px;
}
}
#toc a {
 
   color: #111;
/* BOTÕES */
   font-weight: 600;
.mw-ui-button {
   background-color: #ff6600;
  color: white;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
   font-weight: bold;
}
}
#toc a:hover {
.mw-ui-button:hover {
   color: #0066ff;
   background-color: #e05500;
}
}


/* === Responsividade básica === */
/* MOBILE */
@media (max-width: 768px) {
@media screen and (max-width: 768px) {
   #mw-head {
   #mw-panel {
     flex-direction: column;
     display: none;
    align-items: flex-start;
   }
   }
   #content,
   #content, .mw-body {
  #mw-content-text {
    margin: 0;
     padding: 40px 5vw;
     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;
}
}

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