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
Linha 1: Linha 1:
/* GERAL */
/* FONTE E BASE */
body {
body {
   background-color: #f5f7fa;
   background-color: #f9f9f9;
   font-family: 'Inter', 'Helvetica Neue', sans-serif;
   font-family: 'Segoe UI', 'Inter', sans-serif;
   color: #2c3e50;
   color: #2e2e2e;
  font-size: 16px;
   line-height: 1.6;
   line-height: 1.6;
}
   margin: 0;
 
/* CABEÇALHO */
#mw-page-base, #mw-head-base {
  background: none !important;
}
#p-personal, #p-navigation, #left-navigation, #right-navigation {
  background-color: #1e1e2f;
  color: #fff;
  border-radius: 8px;
   margin: 0 5px;
  padding: 8px;
}
#p-personal a, #p-navigation a {
  color: #fff !important;
}
}


/* LOGO */
/* LOGO */
#p-logo {
#p-logo {
   background: url('/path/para/sua-logo.png') no-repeat center;
   background: url('/caminho/para/logo-institucional.png') no-repeat center;
   background-size: contain;
   background-size: contain;
   height: 100px;
   height: 100px;
Linha 32: Linha 19:
/* CONTEÚDO PRINCIPAL */
/* CONTEÚDO PRINCIPAL */
#content, .mw-body {
#content, .mw-body {
   background-color: #ffffff;
   background-color: #fff;
   border-radius: 12px;
   border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
   padding: 32px;
   padding: 32px;
   margin-top: 20px;
   margin-top: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
}


/* TÍTULOS */
/* TÍTULOS */
h1, h2, h3, h4 {
h1, h2, h3, h4 {
  color: #1a1a1a;
   font-weight: 600;
   font-weight: 600;
  color: #002147; /* Azul institucional */
}
}


/* LINKS */
/* LINKS */
a {
a {
   color: #007acc;
   color: #0056a3;
   text-decoration: none;
   text-decoration: none;
}
}
Linha 56: Linha 43:
/* SIDEBAR */
/* SIDEBAR */
#mw-panel {
#mw-panel {
   background-color: #1e1e2f;
   background-color: #002147;
   border-radius: 10px;
   color: #fff;
   padding: 10px;
   padding: 10px;
  border-radius: 0 0 10px 0;
}
}
#mw-panel .portal h3 {
#mw-panel .portal h3 {
   color: #fff;
   color: #ffffff;
   font-size: 14px;
   font-size: 14px;
   margin-top: 10px;
   margin-top: 12px;
  text-transform: uppercase;
}
}
#mw-panel .portal ul {
#mw-panel .portal ul {
Linha 70: Linha 59:
}
}
#mw-panel .portal ul li a {
#mw-panel .portal ul li a {
   color: #d6e4f0;
   color: #dce6f2;
  padding: 5px 0;
   display: block;
   display: block;
  padding: 6px;
  border-radius: 4px;
}
#mw-panel .portal ul li a:hover {
  background-color: #003366;
}
/* BARRA SUPERIOR */
#mw-head-base, #mw-page-base {
  background: #002147;
}
/* PERSONAL BAR */
#p-personal {
  background-color: #003366;
  padding: 8px;
  border-radius: 6px;
}
#p-personal a {
  color: #fff !important;
}
}


/* RODAPÉ */
/* RODAPÉ */
#footer {
#footer {
  margin-top: 50px;
  background-color: #1e1e2f;
  color: #ccc;
   text-align: center;
   text-align: center;
  background-color: #eaeaea;
  color: #555;
  font-size: 14px;
   padding: 20px;
   padding: 20px;
   border-radius: 10px;
   border-top: 1px solid #ccc;
  margin-top: 40px;
}
}


Linha 89: Linha 98:
   width: 100%;
   width: 100%;
   border-collapse: collapse;
   border-collapse: collapse;
   margin-top: 20px;
   margin: 20px 0;
}
}
table th, table td {
table th, table td {
Linha 100: Linha 109:
}
}


/* CAIXAS DE INFO */
/* INFOS LATERAIS */
.mw-parser-output .infobox {
.infobox {
  border: 1px solid #ccc;
  padding: 10px;
   float: right;
   float: right;
   margin: 0 0 10px 10px;
   margin: 0 0 10px 10px;
   width: 300px;
   padding: 15px;
  border: 1px solid #ccc;
   background-color: #f9f9f9;
   background-color: #f9f9f9;
  width: 280px;
   border-radius: 8px;
   border-radius: 8px;
}
}
Linha 113: Linha 122:
/* BOTÕES */
/* BOTÕES */
.mw-ui-button {
.mw-ui-button {
   background-color: #007acc;
   background-color: #0056a3;
   color: white;
   color: white;
  padding: 10px 18px;
   border: none;
   border: none;
  padding: 8px 14px;
   border-radius: 6px;
   border-radius: 6px;
   cursor: pointer;
   cursor: pointer;
}
}
.mw-ui-button:hover {
.mw-ui-button:hover {
   background-color: #005f99;
   background-color: #003f7f;
}
}


/* MOBILE RESPONSIVO */
/* MOBILE */
@media screen and (max-width: 768px) {
@media screen and (max-width: 768px) {
   #mw-panel {
   #mw-panel {
Linha 131: Linha 140:
   #content, .mw-body {
   #content, .mw-body {
     margin: 0;
     margin: 0;
     padding: 20px;
     padding: 16px;
   }
   }
}
}

Edição das 09h50min de 22 de julho de 2025

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

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

/* CONTEÚDO PRINCIPAL */
#content, .mw-body {
  background-color: #fff;
  border-radius: 8px;
  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: #002147; /* Azul institucional */
}

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

/* SIDEBAR */
#mw-panel {
  background-color: #002147;
  color: #fff;
  padding: 10px;
  border-radius: 0 0 10px 0;
}
#mw-panel .portal h3 {
  color: #ffffff;
  font-size: 14px;
  margin-top: 12px;
  text-transform: uppercase;
}
#mw-panel .portal ul {
  list-style: none;
  padding-left: 0;
}
#mw-panel .portal ul li a {
  color: #dce6f2;
  display: block;
  padding: 6px;
  border-radius: 4px;
}
#mw-panel .portal ul li a:hover {
  background-color: #003366;
}

/* BARRA SUPERIOR */
#mw-head-base, #mw-page-base {
  background: #002147;
}

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

/* RODAPÉ */
#footer {
  text-align: center;
  background-color: #eaeaea;
  color: #555;
  font-size: 14px;
  padding: 20px;
  border-top: 1px solid #ccc;
  margin-top: 40px;
}

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

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

/* BOTÕES */
.mw-ui-button {
  background-color: #0056a3;
  color: white;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.mw-ui-button:hover {
  background-color: #003f7f;
}

/* MOBILE */
@media screen and (max-width: 768px) {
  #mw-panel {
    display: none;
  }
  #content, .mw-body {
    margin: 0;
    padding: 16px;
  }
}