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 9: Linha 9:
body {
body {
   background:
   background:
     linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
     linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
     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 25: Linha 25:
   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;
}
.mw-content-container {
  max-width: none !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
}
}


Linha 142: Linha 149:


.mp-wrapper {
.mp-wrapper {
   max-width: 1200px;
  width: calc(100% - 40px);
   max-width: 1700px;
   margin: 0 auto;
   margin: 0 auto;
}
}
Linha 182: Linha 190:
   justify-content: space-between;
   justify-content: space-between;
   align-items: flex-start;
   align-items: flex-start;
   min-width: 100%;
   width: 100%;
   padding: 0;
   padding: 0;
  overflow-x: auto;
}
}


Linha 189: Linha 198:
.container {
.container {
   min-width: 170px;
   min-width: 170px;
   flex: 1 1 180px;
   flex: 1 1 0;
   max-width: 220px;
   max-width: none;
}
}


Linha 196: Linha 205:
   border-right: 1px solid #35215f;
   border-right: 1px solid #35215f;
   margin: 0 4px;
   margin: 0 4px;
  align-self: stretch;
}
}


Linha 255: Linha 265:


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

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

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

html, body {
  height: 100%;
}

body {
  background:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    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: none !important;
}

.mw-content-container {
  max-width: none !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
}


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

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

.mp-wrapper {
  width: calc(100% - 40px);
  max-width: 1700px;
  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%;
  padding: 0;
  overflow-x: auto;
}

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

.divider {
  border-right: 1px solid #35215f;
  margin: 0 4px;
  align-self: stretch;
}

.classe-table,
.classe-card table,
.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 */
.classe-card: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) {
  .classe-card,
  .container {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .mp-wrapper {
    width: calc(100% - 20px);
  }
}