MediaWiki:Common.css: mudanças entre as edições

De Edda World Wiki
Ir para navegação Ir para pesquisar
Sem resumo de edição
Sem resumo de edição
 
(3 revisões intermediárias pelo mesmo usuário não estão sendo mostradas)
Linha 147: Linha 147:


/* === CONTEÚDO PRINCIPAL =================================== */
/* === CONTEÚDO PRINCIPAL =================================== */
#content,
#content, div#content {
div#content {
   margin-left: 260px !important;
   margin-left: 230px !important;
   margin-right: 8px !important;
   margin-right: 8px !important;
   margin-top: 8px !important;
   margin-top: 8px !important;
Linha 160: Linha 159:
}
}
#column-content {
#column-content {
   margin-left: 220px !important;
   margin-left: 250px !important;
}
}
#mw-head-base {
#mw-head-base {
   margin-left: 220px !important;
   margin-left: 230px !important;
}
}


Linha 495: Linha 494:
   border: none !important;
   border: none !important;
   padding: 0 !important;
   padding: 0 !important;
}
#left-navigation {
  margin-left: 230px !important;
}
}

Edição atual tal como às 07h16min de 22 de abril de 2026

/* ============================================================
   EDDA WORLD WIKI — Common.css COMPLETO
   Versão final · Um arquivo · Cola e esquece
   ============================================================ */

/* === VARIÁVEIS ============================================ */
:root {
  --edda-primary:  #0EA5E9;
  --edda-primary2: #0284C7;
  --edda-dark:     #050E1F;
  --edda-accent:   #7DD8FF;
  --edda-border:   rgba(14, 165, 233, 0.18);
  --edda-text:     #1A2640;
  --edda-muted:    #7A90AC;
  --edda-surface:  #F4F8FF;
  --edda-radius:   10px;
}

/* === FUNDO GERAL ========================================== */
body {
  background: #F4F8FF !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  color: #1A2640 !important;
}

/* === LOGO ================================================= */
a.mw-wiki-logo {
  width: 200px !important;
  height: 200px !important;
  background-size: 190px 190px !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  display: block !important;
}

#p-logo {
  width: 220px !important;
  height: 200px !important;
  padding: 0 !important;
  margin: 0 0 -10px 0 !important;
  overflow: visible !important;
}

/* === TOPBAR (barra preta do topo) ========================= */
#mw-head,
.vector-header,
div#mw-head {
  background: #050E1F !important;
  border-bottom: 1px solid rgba(14,165,233,0.25) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3) !important;
}

/* Tabs: Página / Discussão / Ler / Editar */
#p-namespaces li a,
#p-views li a,
li.selected a,
.vector-tab-noaction a {
  background: transparent !important;
  color: rgba(255,255,255,0.6) !important;
  border-color: transparent !important;
  font-size: 12px !important;
}
#p-namespaces li.selected a,
#p-views li.selected a {
  color: #7DD8FF !important;
  border-bottom: 2px solid #0EA5E9 !important;
  background: rgba(14,165,233,0.1) !important;
}
#p-namespaces li a:hover,
#p-views li a:hover {
  color: #fff !important;
  background: rgba(255,255,255,0.08) !important;
}

/* Campo de pesquisa */
#searchInput,
input[name="search"],
.cdx-text-input__input {
  border-radius: 20px !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  background: rgba(255,255,255,0.08) !important;
  color: rgba(255,255,255,0.85) !important;
  padding: 4px 14px !important;
  font-size: 12px !important;
}
#searchInput::placeholder { color: rgba(255,255,255,0.35) !important; }
#searchButton, .searchButton {
  background: #0EA5E9 !important;
  border-radius: 0 20px 20px 0 !important;
  border: none !important;
  color: #fff !important;
}

/* === SIDEBAR ============================================== */
#mw-panel {
  position: absolute !important;
  width: 220px !important;
  left: 0 !important;
  top: 0 !important;
  padding-top: 0 !important;
  background: #fff !important;
  border-right: 1px solid rgba(14,165,233,0.12) !important;
}
.vector-column-start {
  width: 220px !important;
  flex-shrink: 0 !important;
  background: #fff !important;
  border-right: 1px solid rgba(14,165,233,0.12) !important;
}
#column-one {
  width: 220px !important;
  background: #fff !important;
}

.portal h3,
#p-tb h3,
#p-navigation h3 {
  color: #0EA5E9 !important;
  font-size: 9.5px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  border-bottom: 1px solid rgba(14,165,233,0.15) !important;
  padding-bottom: 4px !important;
  margin-bottom: 5px !important;
}

.portal li a,
#p-tb li a,
#p-navigation li a {
  color: #5A7A9A !important;
  font-size: 12px !important;
  text-decoration: none !important;
  line-height: 1.8 !important;
  transition: color 0.15s !important;
}
.portal li a:hover,
#p-tb li a:hover,
#p-navigation li a:hover {
  color: #0EA5E9 !important;
}

.portal {
  margin: 6px 0 !important;
  padding: 0 8px !important;
}

/* === CONTEÚDO PRINCIPAL =================================== */
#content, div#content {
  margin-left: 260px !important;
  margin-right: 8px !important;
  margin-top: 8px !important;
  margin-bottom: 8px !important;
  background: #fff !important;
  border: 1px solid rgba(14,165,233,0.15) !important;
  border-radius: 10px !important;
  box-shadow: 0 1px 6px rgba(14,165,233,0.07) !important;
  padding: 24px 28px !important;
}
#column-content {
  margin-left: 250px !important;
}
#mw-head-base {
  margin-left: 230px !important;
}

/* === TIPOGRAFIA =========================================== */
h1.firstHeading,
#firstHeading {
  color: #0C1A36 !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  border-bottom: 2px solid #0EA5E9 !important;
  padding-bottom: 10px !important;
  margin-bottom: 20px !important;
}
h2 {
  color: #0C1A36 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  border-bottom: 1px solid rgba(14,165,233,0.2) !important;
  padding-bottom: 6px !important;
  margin: 24px 0 12px !important;
}
h3 {
  color: #0284C7 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  margin: 16px 0 8px !important;
}

a, a:visited { color: #0284C7 !important; text-decoration: none !important; }
a:hover { color: #0EA5E9 !important; text-decoration: underline !important; }
a.new { color: #E05252 !important; }

/* === TABELAS ============================================== */
table.wikitable {
  border-collapse: collapse !important;
  width: 100% !important;
  font-size: 13px !important;
  margin: 14px 0 !important;
  border: 1px solid rgba(14,165,233,0.18) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}
table.wikitable th {
  background: #050E1F !important;
  color: #7DD8FF !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 10px 14px !important;
  border: 1px solid rgba(14,165,233,0.2) !important;
}
table.wikitable td {
  padding: 8px 14px !important;
  border: 1px solid rgba(14,165,233,0.1) !important;
  background: #fff !important;
  color: #1A2640 !important;
}
table.wikitable tr:nth-child(even) td { background: #F4FAFF !important; }
table.wikitable tr:hover td { background: #E8F5FF !important; }

/* === TOC ================================================== */
#toc, .toc {
  background: #F4F8FF !important;
  border: 1px solid rgba(14,165,233,0.18) !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  font-size: 12.5px !important;
}
#toc h2, .toc h2 {
  font-size: 11px !important;
  color: #7A90AC !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border: none !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
}
#toc a, .toc a { color: #0284C7 !important; font-size: 12px !important; }

/* === CATEGORIAS =========================================== */
#catlinks {
  background: #F4F8FF !important;
  border: 1px solid rgba(14,165,233,0.15) !important;
  border-radius: 8px !important;
  padding: 8px 14px !important;
  font-size: 12px !important;
  margin-top: 24px !important;
}

/* === FOOTER ============================================== */
#footer-info-lastmod,
li#footer-info-lastmod { display: none !important; }

.page-Página_principal #footer-places { display: none !important; }
.page-Página_principal #footer-info   { display: none !important; }

#footer, .mw-footer {
  background: #050E1F !important;
  border-top: 1px solid rgba(14,165,233,0.1) !important;
  padding: 10px 20px !important;
  min-height: unset !important;
}

#footer-places li,
#footer-info li,
#footer li {
  display: inline !important;
  color: rgba(255,255,255,0.45) !important;
  font-size: 11px !important;
}

#footer-places li::after { content: " · "; color: rgba(255,255,255,0.2); }
#footer-places li:last-child::after { content: ""; }
#footer a { color: rgba(255,255,255,0.45) !important; }
#footer a:hover { color: #0EA5E9 !important; }
#footer-icons { display: none !important; }

/* === EDIT BOX ============================================= */
#wpTextbox1 {
  border: 1px solid rgba(14,165,233,0.25) !important;
  border-radius: 6px !important;
  padding: 10px !important;
  font-size: 13px !important;
  font-family: "Courier New", monospace !important;
}

/* === BOTÕES =============================================== */
.mw-ui-progressive,
.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
  background: #0EA5E9 !important;
  border-color: #0284C7 !important;
  color: #fff !important;
  border-radius: 6px !important;
}

/* === SCROLLBAR =========================================== */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(14,165,233,0.25); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #0EA5E9; }

/* ============================================================
   COMPONENTES
   ============================================================ */

.edda-grid { display: grid; gap: 12px; margin: 16px 0; }
.edda-grid-2 { grid-template-columns: repeat(2, 1fr); }
.edda-grid-3 { grid-template-columns: repeat(3, 1fr); }
.edda-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 800px) {
  .edda-grid-3, .edda-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .edda-grid-2, .edda-grid-3, .edda-grid-4 { grid-template-columns: 1fr; }
}

.edda-card {
  background: #fff;
  border: 1px solid rgba(14,165,233,0.16);
  border-radius: 10px;
  padding: 16px;
  display: block;
  text-decoration: none !important;
  color: #1A2640 !important;
  transition: all 0.18s;
}
.edda-card:hover {
  border-color: #0EA5E9;
  box-shadow: 0 4px 16px rgba(14,165,233,0.14);
  transform: translateY(-2px);
  text-decoration: none !important;
}
.edda-card-icon { font-size: 24px; margin-bottom: 8px; }
.edda-card-title { font-size: 13px; font-weight: 700; color: #0C1A36; margin-bottom: 4px; }
.edda-card-desc  { font-size: 11px; color: #7A90AC; line-height: 1.5; }

.edda-hero {
  background: #050E1F;
  border-radius: 10px;
  padding: 32px 28px;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.edda-hero-title { color: #fff; font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.edda-hero-title .accent { color: #0EA5E9; }
.edda-hero-sub { color: rgba(255,255,255,0.5); font-size: 12.5px; line-height: 1.6; margin-bottom: 16px; }

.edda-pills { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.edda-pill {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  color: rgba(255,255,255,0.75);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.edda-infobar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: #fff;
  border: 1px solid rgba(14,165,233,0.18);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 18px;
}
.edda-infobar-cell { padding: 10px 12px; border-right: 1px solid rgba(14,165,233,0.1); text-align: center; }
.edda-infobar-cell:last-child { border-right: none; }
.edda-infobar-label { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #7A90AC; margin-bottom: 3px; }
.edda-infobar-value { font-size: 12px; font-weight: 700; color: #0C1A36; }
.edda-infobar-value.blue { color: #0284C7; }

.edda-section-header { display: flex; align-items: center; gap: 10px; margin: 20px 0 12px; }
.edda-section-title { font-size: 12.5px; font-weight: 700; color: #0C1A36; white-space: nowrap; }
.edda-section-line { flex: 1; height: 1px; background: rgba(14,165,233,0.15); }

.edda-banner {
  background: #050E1F;
  border: 1px solid rgba(14,165,233,0.22);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 16px 0;
}
.edda-banner-icon { font-size: 22px; }
.edda-banner-title { color: #fff; font-weight: 700; font-size: 13px; margin-bottom: 3px; }
.edda-banner-sub { color: rgba(255,255,255,0.45); font-size: 11px; line-height: 1.4; }
.edda-banner-tags { display: flex; gap: 7px; margin-left: auto; flex-shrink: 0; }
.edda-banner-tag {
  background: rgba(14,165,233,0.18);
  border: 1px solid rgba(14,165,233,0.35);
  color: #7DD8FF;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.edda-infobox {
  float: right;
  clear: right;
  background: #fff;
  border: 1px solid rgba(14,165,233,0.18);
  border-radius: 10px;
  margin: 0 0 16px 20px;
  width: 280px;
  overflow: hidden;
  font-size: 12px;
}
.edda-infobox-title {
  background: #050E1F;
  color: #7DD8FF;
  font-size: 12px;
  font-weight: 700;
  padding: 10px 14px;
  text-align: center;
}
.edda-infobox table { width: 100%; border-collapse: collapse; }
.edda-infobox td { padding: 7px 12px; border-bottom: 1px solid rgba(14,165,233,0.08); font-size: 12px; }
.edda-infobox td:first-child { font-weight: 700; color: #7A90AC; width: 45%; }
.edda-infobox tr:last-child td { border-bottom: none; }

.edda-drops { width: 100%; border-collapse: collapse; font-size: 12px; border: 1px solid rgba(14,165,233,0.15); border-radius: 8px; overflow: hidden; }
.edda-drops thead th { background: #050E1F; color: #7DD8FF; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 8px 12px; }
.edda-drops tbody td { padding: 7px 12px; border-bottom: 1px solid rgba(14,165,233,0.07); color: #1A2640; }
.edda-drops tbody tr:hover td { background: #EBF6FF; }
.drop-rare     { color: #9B59D0; font-weight: 700; }
.drop-uncommon { color: #D97706; font-weight: 600; }
.drop-common   { color: #7A90AC; }

/* === FIX ABAS DO HEADER =================================== */
#p-namespaces li,
#p-namespaces li a,
#p-namespaces li.selected,
#p-namespaces li.selected a,
#p-views li,
#p-views li a,
#p-views li.selected,
#p-views li.selected a,
.vector-tab-noaction,
.vector-tab-noaction a,
div#p-namespaces ul li,
div#p-views ul li {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

#p-namespaces li a,
#p-views li a,
.vector-tab-noaction a {
  color: rgba(255,255,255,0.55) !important;
  font-size: 12px !important;
  padding: 6px 12px !important;
  border-radius: 4px !important;
  transition: all 0.15s !important;
}

#p-namespaces li.selected a,
#p-views li.selected a {
  color: #7DD8FF !important;
  background: rgba(14,165,233,0.15) !important;
  border-bottom: 2px solid #0EA5E9 !important;
}

#p-namespaces li a:hover,
#p-views li a:hover {
  color: #fff !important;
  background: rgba(255,255,255,0.08) !important;
  text-decoration: none !important;
}

#p-namespaces,
#p-views,
div#p-namespaces,
div#p-views {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

#left-navigation {
  margin-left: 230px !important;
}