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:
/* Código CSS colocado aqui será aplicado a todos os temas */
/* FUNDO GLOBAL */
body {
  background: #0b0d12 url("/images/wiki-bg.jpg") 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;
}
 
/* TOPO / HEADER */
.vector-header-container,
.vector-sticky-header-container {
  background: #2b1205 !important;
  border-bottom: 2px solid #c28b2f;
}
 
/* LOGO/TEXTO */
.mw-logo-wordmark,
.mw-logo-tagline,
.vector-header .mw-logo-container {
  color: #f2d48b !important;
}
 
/* SIDEBAR */
.vector-column-start,
#mw-panel,
.vector-pinned-container {
  background: rgba(34, 12, 3, 0.92);
  border-right: 1px solid #8a5a16;
}
 
/* LINKS DA 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;
}
 
/* CAIXAS DA HOMEPAGE */
.mp-wrapper {
.mp-wrapper {
   max-width: 1200px;
   max-width: 1200px;
Linha 7: Linha 78:
.mp-panel {
.mp-panel {
   background: #efe4c8;
   background: #efe4c8;
   border: 2px solid #5a0f0f;
   border: 2px solid #6b130e;
   border-radius: 10px;
   border-radius: 14px;
   margin-bottom: 14px;
   margin-bottom: 16px;
   overflow: hidden;
   overflow: hidden;
   box-shadow: 0 2px 6px rgba(0,0,0,0.15);
   box-shadow: 0 3px 10px rgba(0,0,0,0.35);
}
}


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


Linha 26: Linha 98:
.mp-links,
.mp-links,
.mp-grid {
.mp-grid {
   padding: 12px;
   padding: 14px;
}
}


Linha 47: Linha 119:
   background: #f8f1df;
   background: #f8f1df;
   border: 1px solid #b99d72;
   border: 1px solid #b99d72;
   border-radius: 6px;
   border-radius: 8px;
   text-align: center;
   text-align: center;
   padding: 10px 6px;
   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;
   font-weight: bold;
}
}
Linha 57: Linha 144:
   grid-template-columns: 1fr 1fr 1fr;
   grid-template-columns: 1fr 1fr 1fr;
   gap: 14px;
   gap: 14px;
}
.mp-col {
  min-width: 0;
}
.mp-links ul {
  margin: 0;
  padding-left: 18px;
}
.mp-links li {
  margin-bottom: 6px;
}
}


Linha 79: Linha 179:
     grid-template-columns: 1fr;
     grid-template-columns: 1fr;
   }
   }
}
.mp-col {
  min-width: 0;
}
.mp-links ul {
  margin: 0;
  padding-left: 18px;
}
.mp-links li {
  margin-bottom: 6px;
}
.mp-card a,
.mp-icon a {
  display: block;
  text-decoration: none;
  font-weight: bold;
}
.mp-card:hover,
.mp-icon:hover {
  transform: translateY(-1px);
}
.mp-card,
.mp-icon {
  transition: 0.15s ease;
}
}

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

/* FUNDO GLOBAL */
body {
  background: #0b0d12 url("/images/wiki-bg.jpg") 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;
}

/* TOPO / HEADER */
.vector-header-container,
.vector-sticky-header-container {
  background: #2b1205 !important;
  border-bottom: 2px solid #c28b2f;
}

/* LOGO/TEXTO */
.mw-logo-wordmark,
.mw-logo-tagline,
.vector-header .mw-logo-container {
  color: #f2d48b !important;
}

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

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

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

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