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:
/* FONTE E BASE */
/* FONTE BASE */
body {
body {
   background-color: #f9f9f9;
   background-color: #f6f6f6;
   font-family: 'Segoe UI', 'Inter', sans-serif;
   font-family: 'Segoe UI', 'Inter', sans-serif;
   color: #2e2e2e;
   color: #111;
   font-size: 16px;
   font-size: 16px;
   line-height: 1.6;
   line-height: 1.6;
Linha 11: Linha 11:
/* LOGO */
/* LOGO */
#p-logo {
#p-logo {
   background: url('/caminho/para/logo-institucional.png') no-repeat center;
   background: url('/caminho/para/sua-logo.png') no-repeat center;
   background-size: contain;
   background-size: contain;
   height: 100px;
   height: 100px;
Linha 20: Linha 20:
#content, .mw-body {
#content, .mw-body {
   background-color: #fff;
   background-color: #fff;
   border-radius: 8px;
   border-radius: 10px;
   padding: 32px;
   padding: 32px;
   margin-top: 20px;
   margin-top: 20px;
Linha 29: Linha 29:
h1, h2, h3, h4 {
h1, h2, h3, h4 {
   font-weight: 600;
   font-weight: 600;
   color: #002147; /* Azul institucional */
   color: #111;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}
}


/* LINKS */
/* LINKS */
a {
a {
   color: #0056a3;
   color: #ff6600;
   text-decoration: none;
   text-decoration: none;
}
}
Linha 43: Linha 45:
/* SIDEBAR */
/* SIDEBAR */
#mw-panel {
#mw-panel {
   background-color: #002147;
   background-color: #111;
   color: #fff;
   color: #fff;
   padding: 10px;
   padding: 10px;
Linha 49: Linha 51:
}
}
#mw-panel .portal h3 {
#mw-panel .portal h3 {
   color: #ffffff;
   color: #ff6600;
   font-size: 14px;
   font-size: 13px;
  margin-top: 12px;
   text-transform: uppercase;
   text-transform: uppercase;
  margin: 16px 0 8px;
}
}
#mw-panel .portal ul {
#mw-panel .portal ul {
Linha 59: Linha 61:
}
}
#mw-panel .portal ul li a {
#mw-panel .portal ul li a {
   color: #dce6f2;
   color: #eee;
   display: block;
   display: block;
   padding: 6px;
   padding: 6px;
Linha 65: Linha 67:
}
}
#mw-panel .portal ul li a:hover {
#mw-panel .portal ul li a:hover {
   background-color: #003366;
   background-color: #222;
}
}


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


/* PERSONAL BAR */
/* PERSONAL BAR */
#p-personal {
#p-personal {
   background-color: #003366;
   background-color: #222;
   padding: 8px;
   padding: 8px;
   border-radius: 6px;
   border-radius: 6px;
Linha 86: Linha 88:
#footer {
#footer {
   text-align: center;
   text-align: center;
   background-color: #eaeaea;
   background-color: #111;
   color: #555;
   color: #aaa;
   font-size: 14px;
   font-size: 14px;
   padding: 20px;
   padding: 20px;
   border-top: 1px solid #ccc;
   border-top: 3px solid #ff6600;
   margin-top: 40px;
   margin-top: 40px;
}
}
Linha 105: Linha 107:
}
}
table th {
table th {
   background-color: #f0f0f0;
   background-color: #f3f3f3;
   font-weight: bold;
   font-weight: bold;
}
}
Linha 115: Linha 117:
   padding: 15px;
   padding: 15px;
   border: 1px solid #ccc;
   border: 1px solid #ccc;
   background-color: #f9f9f9;
   background-color: #fffdf6;
   width: 280px;
   width: 280px;
   border-radius: 8px;
   border-radius: 8px;
Linha 122: Linha 124:
/* BOTÕES */
/* BOTÕES */
.mw-ui-button {
.mw-ui-button {
   background-color: #0056a3;
   background-color: #ff6600;
   color: white;
   color: white;
   padding: 10px 18px;
   padding: 10px 18px;
Linha 128: Linha 130:
   border-radius: 6px;
   border-radius: 6px;
   cursor: pointer;
   cursor: pointer;
  font-weight: bold;
}
}
.mw-ui-button:hover {
.mw-ui-button:hover {
   background-color: #003f7f;
   background-color: #e05500;
}
}



Edição das 09h51min 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;
}

/* SIDEBAR */
#mw-panel {
  background-color: #111;
  color: #fff;
  padding: 10px;
  border-radius: 0 0 10px 0;
}
#mw-panel .portal h3 {
  color: #ff6600;
  font-size: 13px;
  text-transform: uppercase;
  margin: 16px 0 8px;
}
#mw-panel .portal ul {
  list-style: none;
  padding-left: 0;
}
#mw-panel .portal ul li a {
  color: #eee;
  display: block;
  padding: 6px;
  border-radius: 4px;
}
#mw-panel .portal ul li a:hover {
  background-color: #222;
}

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

/* RODAPÉ */
#footer {
  text-align: center;
  background-color: #111;
  color: #aaa;
  font-size: 14px;
  padding: 20px;
  border-top: 3px solid #ff6600;
  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: #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;
  }
}