Ir para o conteúdo

MediaWiki:Common.css: diferenças entre revisões

De Atlax - Wiki
Sem resumo de edição
Sem resumo de edição
Linha 1: Linha 1:
/* FUNDO GLOBAL */
/* FUNDO GLOBAL */
body {
body {
   background: #0b0d12 url("/images/wiki-bg.jpg") no-repeat center top fixed;
   background: #0b0d12 url("/images/wiki-bg.png") no-repeat center top fixed;
   background-size: cover;
   background-size: cover;
}
}

Revisão das 10h33min de 27 de março de 2026

/* FUNDO GLOBAL */
body {
  background: #0b0d12 url("/images/wiki-bg.png") no-repeat center top fixed;
  background-size: cover;
}

/* ÁREA CENTRAL */
.mw-page-container,
.vector-body,
.mw-body {
  background: #e9d7a8 !important;
  border: 1px solid #7a3b12;
  box-shadow: 0 0 12px rgba(0,0,0,0.55);
}

/* TÍTULO DA PÁGINA */
.firstHeading,
.mw-first-heading {
  color: #4e1208;
  font-family: Georgia, serif;
  border-bottom: 2px solid #8b1e12;
  padding-bottom: 8px;
}

/* HEADER */
.vector-header-container,
.vector-sticky-header-container {
  background: linear-gradient(#3a1205, #1a0802) !important;
  border-bottom: 2px solid #c28b2f;
}

.vector-header {
  background: transparent !important;
}

/* LOGO */
.vector-header .mw-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  margin: 0 16px 0 0;
}

.vector-header .mw-logo img {
  max-height: 42px;
  width: auto;
  display: block;
}

.mw-logo-wordmark,
.mw-logo-tagline {
  display: none !important;
}

/* SEARCH */
.vector-search-box-input {
  background: #f1e2b8 !important;
  border: 1px solid #8a5a16 !important;
  color: #000 !important;
}

/* SIDEBAR */
.vector-column-start,
#mw-panel,
.vector-pinned-container {
  background: rgba(34, 12, 3, 0.92);
  border-right: 1px solid #8a5a16;
}

/* LINKS SIDEBAR */
.vector-menu-content a,
#mw-panel a {
  color: #f3d17d !important;
}

.vector-menu-content a:hover,
#mw-panel a:hover {
  color: #fff0b3 !important;
  text-decoration: none;
}

/* LINKS GERAIS */
a {
  color: #9d1f12;
}

a:visited {
  color: #7b1a10;
}

a:hover {
  color: #c4311c;
}

/* HOMEPAGE */
.mp-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.mp-panel {
  background: #efe4c8;
  border: 2px solid #6b130e;
  border-radius: 14px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.35);
}

.mp-title {
  background: linear-gradient(#8f1717, #4e0909);
  color: #f5df9d;
  text-align: center;
  font-weight: bold;
  padding: 10px;
  font-size: 18px;
  text-shadow: 1px 1px 1px #000;
}

.mp-content,
.mp-links,
.mp-grid {
  padding: 14px;
}

.mp-grid {
  display: grid;
  gap: 10px;
}

.mp-grid-classes {
  grid-template-columns: repeat(5, 1fr);
}

.mp-grid-equip,
.mp-grid-systems {
  grid-template-columns: repeat(6, 1fr);
}

.mp-card,
.mp-icon {
  background: #f8f1df;
  border: 1px solid #b99d72;
  border-radius: 8px;
  text-align: center;
  padding: 12px 8px;
  font-weight: bold;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mp-card:hover,
.mp-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.mp-card a,
.mp-icon a {
  display: block;
  text-decoration: none;
  color: #7d120d !important;
  font-weight: bold;
}

.mp-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

.mp-col {
  min-width: 0;
}

.mp-links ul {
  margin: 0;
  padding-left: 18px;
}

.mp-links li {
  margin-bottom: 6px;
}

.two-cols {
  column-count: 2;
}

/* BANNER TOPO PERSONALIZADO */
.mp-header {
  margin-bottom: 14px;
  border: 2px solid #6b130e;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.mp-header img {
  display: block;
  width: 100%;
  height: auto;
}

/* RESPONSIVO */
@media (max-width: 1000px) {
  .mp-grid-classes,
  .mp-grid-equip,
  .mp-grid-systems,
  .mp-columns {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .mp-grid-classes,
  .mp-grid-equip,
  .mp-grid-systems,
  .mp-columns {
    grid-template-columns: 1fr;
  }
}