Ir para o conteúdo

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

De Atlax - Wiki
Sem resumo de edição
Etiqueta: Revertida
Sem resumo de edição
Etiqueta: Revertida
Linha 290: Linha 290:
}
}
/* ===================================================== */
/* ===================================================== */
/* TOPO ESCURO SEM ESTRAGAR O RESTO                      */
/* 🔥 TOPO ESCURO (IGUAL PARA TODOS)                    */
/* ===================================================== */
/* ===================================================== */


/* barra superior real */
#mw-head,
#mw-head,
#mw-navigation,
#mw-navigation,
#mw-head-base,
#mw-page-base,
.vector-header-container,
.vector-header-container,
.vector-sticky-header-container,
.vector-sticky-header-container,
.vector-header {
.vector-header {
   background: #2b1205 !important;
   background: #2b1205 !important;
  background-color: #2b1205 !important;
   border-bottom: 2px solid #c28b2f !important;
   border-bottom: 2px solid #c28b2f !important;
  box-shadow: none !important;
}
}


/* só a faixa do topo para visitantes */
/* remove fundos estranhos do Vector */
body.mw-anon .vector-column-end,
.vector-top-container,
body.mw-anon .vector-top-container,
.vector-column-end {
body.mw-anon .vector-page-toolbar,
   background: transparent !important;
body.mw-anon .vector-page-toolbar-container,
body.mw-anon .vector-page-titlebar,
body.mw-anon .vector-page-titlebar-topped {
   background: #2b1205 !important;
  background-color: #2b1205 !important;
  box-shadow: none !important;
}
}


/* mantém o conteúdo interior claro */
 
/* ===================================================== */
/* 📄 CONTEÚDO (FUNDO BEGE)                              */
/* ===================================================== */
 
.mw-page-container,
.mw-page-container,
.vector-body,
.vector-body,
.mw-body,
.mw-body {
  background: #e9d7a8 !important;
  border: 1px solid #7a3b12;
}
 
/* evita transparências bugadas */
.mw-content-container,
.mw-content-container,
.mw-parser-output {
.mw-parser-output {
   background-color: transparent !important;
   background: transparent !important;
}
}


/* barra da página continua clara por cima do conteúdo */
 
/* ===================================================== */
/* 🧭 BARRA DA PÁGINA (SEMPRE CLARA)                    */
/* ===================================================== */
 
.vector-page-titlebar,
.vector-page-titlebar,
.vector-page-titlebar-topped,
.vector-page-titlebar-topped,
Linha 334: Linha 336:
.vector-page-toolbar-container {
.vector-page-toolbar-container {
   background: #e9d7a8 !important;
   background: #e9d7a8 !important;
  border-bottom: 1px solid #8b1e12 !important;
}
}


/* MAS para visitantes o topo continua escuro */
body.mw-anon .vector-page-titlebar,
body.mw-anon .vector-page-titlebar-topped,
body.mw-anon .vector-page-toolbar,
body.mw-anon .vector-page-toolbar-container {
  background: #2b1205 !important;
}


/* links do topo */
.vector-page-titlebar a,
.vector-page-toolbar a,
.vector-menu-tabs a,
.vector-menu-dropdown a,
.vector-user-links a,
.vector-anon-user-menu a,
#mw-head a,
#mw-navigation a {
  color: #f3d17d !important;
}
/* pesquisa */
.vector-search-box,
.vector-search-box form,
.vector-search-box-inner {
  background: transparent !important;
}
.vector-search-box-input {
  background: #11161d !important;
  color: #f3e2b0 !important;
  border: 1px solid #8a5a16 !important;
}
.vector-search-box-input::placeholder {
  color: #cdbb8b !important;
}
/* ===================================================== */
/* ===================================================== */
/* FIX DAS TABS (VISITANTE)                             */
/* 🧩 TABS (FIX FINAL SEM BUG)                           */
/* ===================================================== */
/* ===================================================== */


Linha 380: Linha 348:
.vector-menu-tabs .vector-menu-content,
.vector-menu-tabs .vector-menu-content,
.vector-menu-tabs ul {
.vector-menu-tabs ul {
  background: #e9d7a8 !important;
  border-bottom: 1px solid #8b1e12 !important;
}
/* abas */
.vector-menu-tabs li {
   background: transparent !important;
   background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
}


/* botões (Página principal / Discussão) */
/* links */
.vector-menu-tabs li {
.vector-menu-tabs a {
   background: transparent !important;
   background: transparent !important;
   border: none !important;
   color: #7b1a10 !important;
  padding: 6px 10px;
}
}


/* aba ativa */
/* ativa */
.vector-menu-tabs .selected a {
.vector-menu-tabs .selected a {
   background: #2b1205 !important;
   background: #e9d7a8 !important;
   color: #f3d17d !important;
   color: #4e1208 !important;
   border: none !important;
  font-weight: bold;
   border-bottom: 2px solid #8b1e12 !important;
}
 
/* hover */
.vector-menu-tabs a:hover {
  color: #c4311c !important;
}
 
 
/* ===================================================== */
/* 🔎 SEARCH                                            */
/* ===================================================== */
 
.vector-search-box-input {
  background: #11161d !important;
  color: #f3e2b0 !important;
  border: 1px solid #8a5a16 !important;
}
}


/* abas normais */
.vector-search-box-input::placeholder {
.vector-menu-tabs a {
  background: transparent !important;
   color: #cdbb8b !important;
   color: #cdbb8b !important;
  border: none !important;
}
}


/* hover */
 
.vector-menu-tabs a:hover {
/* ===================================================== */
   color: #fff0b3 !important;
/* 🔗 LINKS TOPO                                        */
  background: transparent !important;
/* ===================================================== */
 
.vector-page-titlebar a,
.vector-page-toolbar a,
.vector-user-links a {
   color: #a88942 !important;
}
}

Revisão das 14h03min de 27 de março de 2026

/* ===================================================== */
/* 🔧 CONTROLO DE LARGURA (AJUSTA SÓ AQUI)               */
/* ===================================================== */

:root {
  --page-max-width: 1200px;   /* 👈 diminui isto */
  --content-max-width: 1180px;
  --wrapper-width: calc(100% - 20px);
}


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


/* ===================================================== */
/* REMOVE SIDEBAR (IGUAL PARA TODOS)                     */
/* ===================================================== */

.vector-column-start,
#mw-panel,
.vector-pinned-container {
  display: none !important;
}


/* ===================================================== */
/* Á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.45);
  max-width: var(--page-max-width) !important;
  margin: 0 auto !important;
}
.mw-parser-output {
  padding: 0 !important;
}
.mw-content-container {
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
}


/* ===================================================== */
/* HEADER (ESTÁVEL PARA TODOS)                           */
/* ===================================================== */

.vector-header-container,
.vector-sticky-header-container,
.vector-header {
  background: #2b1205 !important;
  border-bottom: 2px solid #c28b2f !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

/* limpa inconsistências */
.vector-header * {
  background: transparent !important;
}

/* layout fixo */
.vector-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* logo */
.vector-header .mw-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
}

.vector-header .mw-logo img {
  max-height: 36px;
}

/* esconder texto */
.mw-logo-wordmark,
.mw-logo-tagline {
  display: none !important;
}


/* ===================================================== */
/* SEARCH                                                */
/* ===================================================== */

.vector-search-box {
  flex: 0 1 420px;
}

.vector-search-box-input {
  background: #11161d !important;
  color: #f3e2b0 !important;
  border: 1px solid #8a5a16 !important;
}

.vector-search-box-input::placeholder {
  color: #cdbb8b !important;
}


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

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

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


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

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


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

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


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

.classes-flex {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 0 6px;
  box-sizing: border-box;
}

.container {
  flex: 0 0 185px;
  min-width: 185px;
  max-width: 185px;
  align-self: flex-start;
}

/* remove bug de largura */
.container > div {
  width: 100% !important;
}

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

/* separadores, se existirem */
.classes-flex > div[style*="border-right"] {
  flex: 0 0 1px;
  margin: 0 2px !important;
  align-self: stretch;
}

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

/* base */
.classe-bottom {
  text-align: center;
  color: white;
  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; }

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

@media (max-width: 1000px) {
  .classes-flex {
    flex-wrap: wrap;
    justify-content: center;
  }

  .container {
    flex: 0 0 185px;
    min-width: 185px;
    max-width: 185px;
  }
}

@media (max-width: 700px) {
  .container {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
  }
}
/* ===================================================== */
/* 🔥 TOPO ESCURO (IGUAL PARA TODOS)                     */
/* ===================================================== */

#mw-head,
#mw-navigation,
.vector-header-container,
.vector-sticky-header-container,
.vector-header {
  background: #2b1205 !important;
  border-bottom: 2px solid #c28b2f !important;
}

/* remove fundos estranhos do Vector */
.vector-top-container,
.vector-column-end {
  background: transparent !important;
}


/* ===================================================== */
/* 📄 CONTEÚDO (FUNDO BEGE)                              */
/* ===================================================== */

.mw-page-container,
.vector-body,
.mw-body {
  background: #e9d7a8 !important;
  border: 1px solid #7a3b12;
}

/* evita transparências bugadas */
.mw-content-container,
.mw-parser-output {
  background: transparent !important;
}


/* ===================================================== */
/* 🧭 BARRA DA PÁGINA (SEMPRE CLARA)                     */
/* ===================================================== */

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


/* ===================================================== */
/* 🧩 TABS (FIX FINAL SEM BUG)                           */
/* ===================================================== */

.vector-menu-tabs,
.vector-menu-tabs-legacy,
.vector-menu-tabs .vector-menu-content,
.vector-menu-tabs ul {
  background: #e9d7a8 !important;
  border-bottom: 1px solid #8b1e12 !important;
}

/* abas */
.vector-menu-tabs li {
  background: transparent !important;
}

/* links */
.vector-menu-tabs a {
  background: transparent !important;
  color: #7b1a10 !important;
  padding: 6px 10px;
}

/* ativa */
.vector-menu-tabs .selected a {
  background: #e9d7a8 !important;
  color: #4e1208 !important;
  font-weight: bold;
  border-bottom: 2px solid #8b1e12 !important;
}

/* hover */
.vector-menu-tabs a:hover {
  color: #c4311c !important;
}


/* ===================================================== */
/* 🔎 SEARCH                                             */
/* ===================================================== */

.vector-search-box-input {
  background: #11161d !important;
  color: #f3e2b0 !important;
  border: 1px solid #8a5a16 !important;
}

.vector-search-box-input::placeholder {
  color: #cdbb8b !important;
}


/* ===================================================== */
/* 🔗 LINKS TOPO                                         */
/* ===================================================== */

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