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                             */
/* 🔧 AJUSTE RÁPIDO DE LARGURA (ALTERA SÓ ISTO)          */
/* ========================================= */
/* ===================================================== */
 
/* MAIS ESPREMIDO = aumenta os valores */
:root {
  --page-max-width: 1280px;
  --content-max-width: 1220px;
  --wrapper-width: calc(100% - 180px);
}
 
 
/* ===================================================== */
/* FUNDO GLOBAL                                         */
/* ===================================================== */


html, body {
html, body {
Linha 9: Linha 21:
body {
body {
   background:
   background:
     linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
     linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
     url("/images/imagem_fundo.png") no-repeat center top fixed;
     url("/images/imagem_fundo.png") no-repeat center top fixed;
   background-size: cover;
   background-size: cover;
Linha 15: Linha 27:




/* ========================================= */
/* ===================================================== */
/* ÁREA CENTRAL (CAIXA CLARA)               */
/* ÁREA CENTRAL (CAIXA CLARA)                           */
/* ========================================= */
/* ===================================================== */


.mw-page-container,
.mw-page-container,
Linha 25: Linha 37:
   border: 1px solid #7a3b12;
   border: 1px solid #7a3b12;
   box-shadow: 0 0 12px rgba(0,0,0,0.45);
   box-shadow: 0 0 12px rgba(0,0,0,0.45);
   max-width: none !important;
   max-width: var(--page-max-width) !important;
  margin: 0 auto !important;
}
}


.mw-content-container {
.mw-content-container {
   max-width: none !important;
   max-width: var(--content-max-width) !important;
   padding-left: 8px !important;
  margin: 0 auto !important;
   padding-right: 8px !important;
   padding-left: 10px !important;
   padding-right: 10px !important;
}
}




/* ========================================= */
/* ===================================================== */
/* HEADER (TOPO ESCURO)                      */
/* HEADER                                               */
/* ========================================= */
/* ===================================================== */


.vector-header-container,
.vector-header-container,
Linha 48: Linha 62:
   background: transparent !important;
   background: transparent !important;
}
}


/* LOGO */
/* LOGO */
Linha 70: Linha 83:




/* ========================================= */
/* ===================================================== */
/* BARRA DA PÁGINA                           */
/* BARRA DA PÁGINA                                       */
/* ========================================= */
/* ===================================================== */


.vector-page-titlebar,
.vector-page-titlebar,
Linha 91: Linha 104:




/* ========================================= */
/* ===================================================== */
/* TÍTULO                                   */
/* TÍTULO                                               */
/* ========================================= */
/* ===================================================== */


.firstHeading,
.firstHeading,
Linha 104: Linha 117:




/* ========================================= */
/* ===================================================== */
/* SIDEBAR                                   */
/* SIDEBAR                                               */
/* ========================================= */
/* ===================================================== */


.vector-column-start,
.vector-column-start,
Linha 127: Linha 140:




/* ========================================= */
/* ===================================================== */
/* LINKS                                     */
/* LINKS                                                 */
/* ========================================= */
/* ===================================================== */


a {
a {
Linha 144: Linha 157:




/* ========================================= */
/* ===================================================== */
/* HOMEPAGE (CAIXAS)                        */
/* HOMEPAGE                                             */
/* ========================================= */
/* ===================================================== */


.mp-wrapper {
.mp-wrapper {
   width: calc(100% - 40px);
   width: var(--wrapper-width);
   max-width: 1700px;
   max-width: var(--content-max-width);
   margin: 0 auto;
   margin: 0 auto;
}
}
Linha 180: Linha 193:




/* ========================================= */
/* ===================================================== */
/* CLASSES (CARDS)                           */
/* CLASSES (CARDS)                                       */
/* ========================================= */
/* ===================================================== */


.classes-wrapper,
.classes-wrapper,
Linha 191: Linha 204:
   align-items: flex-start;
   align-items: flex-start;
   width: 100%;
   width: 100%;
  padding: 0;
  overflow-x: auto;
}
}


.classe-card,
.container {
.container {
  min-width: 170px;
   flex: 1 1 0;
   flex: 1 1 0;
   max-width: none;
   min-width: 160px;
}
}


.divider {
/* REMOVE LARGURA FIXA QUE QUEBRA O LAYOUT */
   border-right: 1px solid #35215f;
.container > div {
  margin: 0 4px;
   width: 100% !important;
  align-self: stretch;
}
}


.classe-table,
/* TABELA */
.classe-card table,
.container table {
.container table {
   width: 100%;
   width: 100%;
Linha 246: Linha 253:


/* HOVER */
/* HOVER */
.classe-card:hover,
.container:hover {
.container:hover {
   transform: translateY(-2px);
   transform: translateY(-2px);
Linha 253: Linha 259:




/* ========================================= */
/* ===================================================== */
/* RESPONSIVO                               */
/* RESPONSIVO                                           */
/* ========================================= */
/* ===================================================== */


@media (max-width: 1000px) {
@media (max-width: 1000px) {
Linha 265: Linha 271:


@media (max-width: 700px) {
@media (max-width: 700px) {
  .classe-card,
   .container {
   .container {
     max-width: 100%;
     min-width: 100%;
    flex: 1 1 100%;
  }
 
  .mp-wrapper {
    width: calc(100% - 20px);
   }
   }
}
}

Revisão das 12h36min de 27 de março de 2026

/* ===================================================== */
/* 🔧 AJUSTE RÁPIDO DE LARGURA (ALTERA SÓ ISTO)          */
/* ===================================================== */

/* MAIS ESPREMIDO = aumenta os valores */
:root {
  --page-max-width: 1280px;
  --content-max-width: 1220px;
  --wrapper-width: calc(100% - 180px);
}


/* ===================================================== */
/* FUNDO GLOBAL                                          */
/* ===================================================== */

html, body {
  height: 100%;
}

body {
  background:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url("/images/imagem_fundo.png") no-repeat center top fixed;
  background-size: cover;
}


/* ===================================================== */
/* ÁREA CENTRAL (CAIXA CLARA)                            */
/* ===================================================== */

.mw-page-container,
.vector-body,
.mw-body {
  background: #e9d7a8 !important;
  border: 1px solid #7a3b12;
  box-shadow: 0 0 12px rgba(0,0,0,0.45);
  max-width: var(--page-max-width) !important;
  margin: 0 auto !important;
}

.mw-content-container {
  max-width: var(--content-max-width) !important;
  margin: 0 auto !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
}


/* ===================================================== */
/* HEADER                                                */
/* ===================================================== */

.vector-header-container,
.vector-sticky-header-container {
  background: #2b1205 !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-right: 16px;
}

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

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


/* ===================================================== */
/* BARRA DA PÁGINA                                       */
/* ===================================================== */

.vector-page-titlebar,
.vector-page-titlebar-topped {
  background: #e9d7a8 !important;
  border-bottom: 1px solid #8b1e12 !important;
}

.vector-page-toolbar,
.vector-page-toolbar-container {
  background: #e9d7a8 !important;
}

.vector-page-titlebar a,
.vector-page-toolbar a {
  color: #a88942 !important;
}


/* ===================================================== */
/* TÍTULO                                                */
/* ===================================================== */

.firstHeading,
.mw-first-heading {
  color: #4e1208 !important;
  font-family: Georgia, serif;
  border-bottom: 2px solid #8b1e12;
  padding-bottom: 8px;
}


/* ===================================================== */
/* SIDEBAR                                               */
/* ===================================================== */

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

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

a {
  color: #9d1f12;
}

a:visited {
  color: #7b1a10;
}

a:hover {
  color: #c4311c;
}


/* ===================================================== */
/* HOMEPAGE                                              */
/* ===================================================== */

.mp-wrapper {
  width: var(--wrapper-width);
  max-width: var(--content-max-width);
  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;
}


/* ===================================================== */
/* CLASSES (CARDS)                                       */
/* ===================================================== */

.classes-wrapper,
.classes-flex {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.container {
  flex: 1 1 0;
  min-width: 160px;
}

/* REMOVE LARGURA FIXA QUE QUEBRA O LAYOUT */
.container > div {
  width: 100% !important;
}

/* TABELA */
.container table {
  width: 100%;
  margin: 0 !important;
  border-spacing: 0;
  border-collapse: separate;
  background: #f6ecd6;
  border: 1px solid #8e6a3a;
  border-radius: 8px;
  overflow: hidden;
}

/* TOPO */
.classe-top {
  text-align: center;
  font-size: 14px;
  color: #f5df9d;
  background: linear-gradient(to right,#36040d,#851515,#36040d);
  padding: 4px;
}

/* BASE */
.classe-bottom {
  text-align: center;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(to right,#36040d,#851515,#36040d);
  padding: 6px;
}

/* TAGS */
.tag-green { background:#43cc91; color:#000; padding:2px 6px; border-radius:4px; }
.tag-red { background:#ff8a8a; color:#000; padding:2px 6px; border-radius:4px; }
.tag-yellow { background:#ffc107; color:#000; padding:2px 6px; border-radius:4px; }
.tag-blue { background:#42a1c9; color:#000; padding:2px 6px; border-radius:4px; }

/* HOVER */
.container:hover {
  transform: translateY(-2px);
  transition: 0.15s ease;
}


/* ===================================================== */
/* RESPONSIVO                                            */
/* ===================================================== */

@media (max-width: 1000px) {
  .classes-wrapper,
  .classes-flex {
    flex-wrap: wrap;
  }
}

@media (max-width: 700px) {
  .container {
    min-width: 100%;
  }
}