WikiRio sobrevive

Estamos planejando algumas mudanças

Idéias para o site?

[email protected]

MediaWiki:Common.css

De WikiRio
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 ========== */
body {
  font-family: Helvetica, Trebuchet MS, Arial;
  margin: 0;
  padding: 0;
  background-color: #fdfdfd;
  color: #202020;
}
/* ====== TOPO FIXADO E ALINHADO AO CONTEÚDO ====== */
#mw-head-base,
#mw-head,
#left-navigation,
#right-navigation,
#p-personal {
  margin-left: 13em !important;
  max-width: 1200px;
  padding-left: 0;
  padding-right: 2em;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
}

/* Garante que o conteúdo do topo não quebre ou fique atrás do logo */
#mw-head-base {
  clear: both;
}

/* Ajuste para quando estiver em telas menores */
@media (max-width: 1024px) {
  #mw-head-base,
  #mw-head,
  #left-navigation,
  #right-navigation,
  #p-personal {
    margin-left: 0 !important;
    padding-left: 1em;
    padding-right: 1em;
    max-width: 100% !important;
  }

  #mw-panel {
    display: none;
  }

  #content {
    margin-left: 0 !important;
  }
}


/* ========== MENU LATERAL ========== */
#mw-panel {
  float: left;
  width: 12em;
  margin: 0;
  padding: 0;
}

/* ========== CONTEÚDO PRINCIPAL ========== */
#content {
  margin-left: 13em;
  padding: 1em 2em;
  max-width: 1200px;
  padding-top: 0;
  box-sizing: border-box;
}

/* Espaço entre o menu superior e o conteúdo */
#mw-content-text {
  padding-top: 1.5em;
  box-sizing: border-box;
  max-width: 100%;
  margin: 0;
}

/* Garante que as caixas não desalinhem com o conteúdo */
#mw-content-text > .main-introbox,
#mw-content-text > .caixaazul {
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* ========== TOPO ALINHADO AO CONTEÚDO ========== */
#mw-head,
#mw-head-base,
#mw-navigation,
#mw-page-base {
  max-width: 1200px;
  margin-left: 13em !important;
  margin-right: auto;
  padding-left: 0;
  padding-right: 2em;
  box-sizing: border-box;
}

/* ========== TÍTULO PRINCIPAL ========== */
h1.firstHeading {
  border-bottom: 0 !important;
  font-size: 48px !important;
  font-weight: bold !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ========== FLEX HOME CARDS ========== */
.home-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  margin-top: 2em;
}

.card-left,
.card-right {
  flex: 1 1 45%;
  min-width: 300px;
}

/* ========== LINKS ========== */
a:link    { color: #00249c; }
a:visited { color: #00249c; }
a:hover { text-decoration: underline; }
a.new, .new a { color: #e30059 !important; }

/* ========== LOGO TEXTO ========== */
#p-logo-text a {
  font-family: Helvetica, Trebuchet MS, Arial;
  font-variant: normal;
}

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

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

#personal h2 {
  color: #000;
}

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

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

/* ========== NAVEGAÇÃO ========== */
#site-navigation {
  color: #000;
  font-family: Helvetica, Trebuchet MS, Arial;
}
.wikirio-title {
  font-family: Helvetica, Trebuchet MS, Arial;
  font-size: 110%;
}

/* ========== PÁGINA PRINCIPAL ========== */
.main-introbox {
  padding: 1em;
  border: 2px solid #294a8d;
  background: #eaebf0;
  text-align: left;
  max-width: 100%;
  box-sizing: border-box;
}
.main-introbox-inner {
  padding: 1em;
  background: #f7f9fa;
}
.main-introtext {
  font-size: 2em;
}
.caixaazul {
  border: 2px solid #3265cb;
  margin: 0;
  padding: 2em;
  margin-top: 2em;
  box-sizing: border-box;
}

/* ========== INFOBOX ========== */
.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%;
}

/* ========== IMAGENS ========== */
.img-esquerda {
  padding: 0 1em 0 0;
  margin: 0;
}
.img-direita {
  padding: 0 0 0 1em;
  margin: 0;
}