WikiRio sobrevive

Estamos planejando algumas mudanças

Idéias para o site?

[email protected]

MediaWiki:Common.css

De WikiRio
Revisão de 21h17min de 1 de maio de 2025 por Edgard (discussão | contribs)
Ir para navegação Ir para pesquisar

Nota: Após publicar, você pode ter que limpar o "cache" do seu navegador para ver as alterações.

  • Firefox / Safari: Pressione Shift enquanto clica Recarregar, ou pressione Ctrl-F5 ou Ctrl-R (⌘-R no Mac)
  • Google Chrome: Pressione Ctrl-Shift-R (⌘-Shift-R no Mac)
  • Edge: Pressione Ctrl enquanto clica Recarregar, ou pressione Ctrl-F5.
  • Opera: Pressione Ctrl-F5.
/* ====== BASE TYPOGRAFIA E LAYOUT CENTRALIZADO ====== */
body {
  font-family: Helvetica, Trebuchet MS, Arial;
  line-height: 1.6;
  font-size: 16px;
  margin: 0 auto;
  padding: 0 1em;
  max-width: 1200px;
  background-color: #fdfdfd;
  color: #202020;
}

/* ====== LINKS ====== */
a:link    { color: #00249c; }
a:visited { color: #00249c; }
a:hover   { text-decoration: underline; }
a.new, .new a { color: #e30059 !important; }
#p-logo-text a {
  font-family: Helvetica, Trebuchet MS, Arial;
  font-variant: normal;
}

/* ====== TABELAS ====== */
.wikitable {
  width: 100%;
  font-size: 1em;
  background: #fff;
  border-collapse: collapse;
}
.wikitable th,
.wikitable td {
  padding: 0.5em;
  border: 1px solid #ddd;
}
.wikitable th {
  background-color: #007fd8;
  color: white;
}

/* ====== TÍTULOS ====== */
#mw-content h1, #mw-content h2, #mw-content h3, #mw-content h4, 
#mw-content h5, #mw-content h6, #mw-content dt {
  font-family: Helvetica, Trebuchet MS, Arial;
  color: #00223f;
}
#mw-content h2 {
  border-bottom: solid 0.5px #00223f;
  font-size: 1.4em;
  font-weight: bold;
}
#mw-content h3 {
  border-bottom: solid 0.5px #00223f;
  font-size: 1.2em;
  font-weight: bold;
}
#mw-content h4, #mw-content h5, #mw-content h6 {
  border-bottom: solid 0.5px #00223f;
  font-size: 1em;
  font-weight: normal;
}
.mw-body .mw-parser-output h1::after,
.mw-body .mw-parser-output h2::after {
  border-bottom: 0 !important;
}
h1.firstHeading {
  border-bottom: 0 !important;
  font-size: 48px !important;
  font-weight: bold !important;
}

/* ====== CONTAINERS E ESTRUTURA ====== */
.color-middle, .color-right, .color-left {
  background: #66c4ec;
}
#mw-content-container {
  border-bottom: 0;
  background: white;
}
#mw-header-container {
  background: #fff;
}
#mw-footer-container {
  color: white;
  background: #00223f;
}
#mw-footer-container a {
  color: white;
}
#site-navigation {
  color: #000;
  font-family: Helvetica, Trebuchet MS, Arial;
}
.wikirio-title {
  font-family: Helvetica, Trebuchet MS, Arial;
  font-size: 110%;
}
.mw-indicators {
  margin: 0;
}

/* ====== QUOTES E TEXTOS ESPECIAIS ====== */
#mw-content blockquote {
  font-size: 1em;
  font-weight: bold;
}
#mw-content blockquote::before {
  content: "„";
  font-size: 3em;
  float: left;
  margin: 0 10px 0 0;
}

/* ====== MAIN PAGE ELEMENTOS CUSTOMIZADOS ====== */
.main-introbox {
  padding: 1em;
  border: 2px solid #294a8d;
  background: #eaebf0;
  text-align: center;
}
.main-introbox-inner {
  padding: 1em;
  background: #f7f9fa;
}
.main-introtext {
  font-size: 2em;
}
.caixaazul {
  border: 2px solid #3265cb;
  margin-top: 2em;
  padding: 2em;
}

/* ====== INFOBOX E IMAGENS LATERAIS ====== */
.infobox {
  float: right;
  clear: right;
  margin-bottom: 0.5em;
  margin-left: 1em;
  padding: 0.2em;
  border: 1px solid #a2a9b1;
  background: #f8f9fa;
  color: black;
  font-size: 90%;
}
.img-esquerda {
  padding: 0 1em 0 0;
  margin: 0;
}
.img-direita {
  padding: 0 0 0 1em;
  margin: 0;
}

/* ====== CARDS E SEÇÕES MODERNAS ====== */
.card-section {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  margin: 1em 0;
}
.card {
  flex: 1 1 48%;
  background: #f9f9f9;
  padding: 1em;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* ====== BANNERS E TÍTULOS VISUAIS ====== */
.banner-principal {
  background: #007fd8;
  color: white;
  padding: 2em 1em;
  text-align: center;
}
.banner-principal h1 {
  font-size: 2.5em;
  margin-bottom: 0.3em;
}
.banner-principal p {
  font-size: 1.2em;
}

/* ====== RODAPÉ VISUAL ====== */
.footer-note {
  text-align: center;
  font-size: 0.85em;
  color: #999;
  margin-top: 3em;
  padding-bottom: 1em;
}

/* ====== IMAGENS E MÍDIA ====== */
img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ====== MOBILE FIRST ====== */
@media screen and (max-width: 768px) {
  body {
    padding: 0 1em;
  }
  .card {
    flex: 1 1 100%;
  }
  .wikitable {
    font-size: 0.9em;
  }
  .nomobile {
    display: none !important;
  }
}