MediaWiki:Common.css: mudanças entre as edições
Ir para navegação
Ir para pesquisar
Sem resumo de edição Etiqueta: Reversão manual |
Sem resumo de edição Etiqueta: Revertido |
||
| Linha 1: | Linha 1: | ||
/* ============================================================ | /* ============================================================ | ||
EDDA WORLD WIKI — Common.css COMPLETO | EDDA WORLD WIKI — Common.css COMPLETO | ||
Versão | Versão com suporte a tema claro/escuro · Cola e esquece | ||
============================================================ */ | ============================================================ */ | ||
/* === VARIÁVEIS | /* === VARIÁVEIS (tema claro — padrão) ======================= */ | ||
:root { | :root { | ||
--edda-primary: | --edda-primary: #0EA5E9; | ||
--edda-primary2: #0284C7; | --edda-primary2: #0284C7; | ||
--edda-dark: | --edda-dark: #050E1F; | ||
--edda-accent: | --edda-accent: #7DD8FF; | ||
--edda-border: rgba(14, 165, 233, 0. | --edda-border: rgba(14, 165, 233, 0.18); | ||
--edda-text: | --edda-border-soft: rgba(14, 165, 233, 0.08); | ||
--edda-muted: | --edda-text: #1A2640; | ||
--edda-surface: | --edda-heading: #0C1A36; | ||
--edda-radius: | --edda-muted: #7A90AC; | ||
--edda-surface: #ffffff; | |||
--edda-surface-alt: #F4F8FF; | |||
--edda-surface-hover: #E8F5FF; | |||
--edda-radius: 10px; | |||
} | |||
/* === VARIÁVEIS (tema escuro) ================================ */ | |||
html[data-theme="dark"] { | |||
--edda-primary: #38BDF8; | |||
--edda-primary2: #56C2F5; | |||
--edda-dark: #000814; | |||
--edda-accent: #7DD8FF; | |||
--edda-border: rgba(56, 189, 248, 0.28); | |||
--edda-border-soft: rgba(56, 189, 248, 0.14); | |||
--edda-text: #E2E8F0; | |||
--edda-heading: #F1F5F9; | |||
--edda-muted: #93A9C4; | |||
--edda-surface: #101B30; | |||
--edda-surface-alt: #0B1220; | |||
--edda-surface-hover: rgba(56, 189, 248, 0.1); | |||
} | |||
html, body { | |||
transition: background-color 0.15s ease, color 0.15s ease; | |||
} | } | ||
/* === FUNDO GERAL ========================================== */ | /* === FUNDO GERAL ========================================== */ | ||
body { | body { | ||
background: | background: var(--edda-surface-alt) !important; | ||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important; | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important; | ||
color: | color: var(--edda-text) !important; | ||
} | } | ||
| Linha 46: | Linha 70: | ||
.vector-header, | .vector-header, | ||
div#mw-head { | div#mw-head { | ||
background: | background: var(--edda-dark) !important; | ||
border-bottom: 1px solid | border-bottom: 1px solid var(--edda-border) !important; | ||
box-shadow: 0 2px 12px rgba(0,0,0,0.3) !important; | box-shadow: 0 2px 12px rgba(0,0,0,0.3) !important; | ||
} | } | ||
| Linha 63: | Linha 87: | ||
#p-namespaces li.selected a, | #p-namespaces li.selected a, | ||
#p-views li.selected a { | #p-views li.selected a { | ||
color: | color: var(--edda-accent) !important; | ||
border-bottom: 2px solid | border-bottom: 2px solid var(--edda-primary) !important; | ||
background: rgba(14,165,233,0.1) !important; | background: rgba(14,165,233,0.1) !important; | ||
} | } | ||
| Linha 86: | Linha 110: | ||
#searchInput::placeholder { color: rgba(255,255,255,0.35) !important; } | #searchInput::placeholder { color: rgba(255,255,255,0.35) !important; } | ||
#searchButton, .searchButton { | #searchButton, .searchButton { | ||
background: | background: var(--edda-primary) !important; | ||
border-radius: 0 20px 20px 0 !important; | border-radius: 0 20px 20px 0 !important; | ||
border: none !important; | border: none !important; | ||
| Linha 99: | Linha 123: | ||
top: 0 !important; | top: 0 !important; | ||
padding-top: 0 !important; | padding-top: 0 !important; | ||
background: | background: var(--edda-surface) !important; | ||
border-right: 1px solid | border-right: 1px solid var(--edda-border-soft) !important; | ||
} | } | ||
.vector-column-start { | .vector-column-start { | ||
width: 220px !important; | width: 220px !important; | ||
flex-shrink: 0 !important; | flex-shrink: 0 !important; | ||
background: | background: var(--edda-surface) !important; | ||
border-right: 1px solid | border-right: 1px solid var(--edda-border-soft) !important; | ||
} | } | ||
#column-one { | #column-one { | ||
width: 220px !important; | width: 220px !important; | ||
background: | background: var(--edda-surface) !important; | ||
} | } | ||
| Linha 116: | Linha 140: | ||
#p-tb h3, | #p-tb h3, | ||
#p-navigation h3 { | #p-navigation h3 { | ||
color: | color: var(--edda-primary) !important; | ||
font-size: 9.5px !important; | font-size: 9.5px !important; | ||
font-weight: 700 !important; | font-weight: 700 !important; | ||
letter-spacing: 1px !important; | letter-spacing: 1px !important; | ||
text-transform: uppercase !important; | text-transform: uppercase !important; | ||
border-bottom: 1px solid | border-bottom: 1px solid var(--edda-border) !important; | ||
padding-bottom: 4px !important; | padding-bottom: 4px !important; | ||
margin-bottom: 5px !important; | margin-bottom: 5px !important; | ||
| Linha 129: | Linha 153: | ||
#p-tb li a, | #p-tb li a, | ||
#p-navigation li a { | #p-navigation li a { | ||
color: | color: var(--edda-muted) !important; | ||
font-size: 12px !important; | font-size: 12px !important; | ||
text-decoration: none !important; | text-decoration: none !important; | ||
| Linha 138: | Linha 162: | ||
#p-tb li a:hover, | #p-tb li a:hover, | ||
#p-navigation li a:hover { | #p-navigation li a:hover { | ||
color: | color: var(--edda-primary) !important; | ||
} | } | ||
| Linha 152: | Linha 176: | ||
margin-top: 8px !important; | margin-top: 8px !important; | ||
margin-bottom: 8px !important; | margin-bottom: 8px !important; | ||
background: | background: var(--edda-surface) !important; | ||
border: 1px solid | border: 1px solid var(--edda-border) !important; | ||
border-radius: 10px !important; | border-radius: 10px !important; | ||
box-shadow: 0 1px 6px rgba(14,165,233,0.07) !important; | box-shadow: 0 1px 6px rgba(14,165,233,0.07) !important; | ||
padding: 24px 28px !important; | padding: 24px 28px !important; | ||
color: var(--edda-text) !important; | |||
} | } | ||
#column-content { | #column-content { | ||
| Linha 168: | Linha 193: | ||
h1.firstHeading, | h1.firstHeading, | ||
#firstHeading { | #firstHeading { | ||
color: | color: var(--edda-heading) !important; | ||
font-size: 22px !important; | font-size: 22px !important; | ||
font-weight: 700 !important; | font-weight: 700 !important; | ||
border-bottom: 2px solid | border-bottom: 2px solid var(--edda-primary) !important; | ||
padding-bottom: 10px !important; | padding-bottom: 10px !important; | ||
margin-bottom: 20px !important; | margin-bottom: 20px !important; | ||
} | } | ||
h2 { | h2 { | ||
color: | color: var(--edda-heading) !important; | ||
font-size: 16px !important; | font-size: 16px !important; | ||
font-weight: 700 !important; | font-weight: 700 !important; | ||
border-bottom: 1px solid | border-bottom: 1px solid var(--edda-border) !important; | ||
padding-bottom: 6px !important; | padding-bottom: 6px !important; | ||
margin: 24px 0 12px !important; | margin: 24px 0 12px !important; | ||
} | } | ||
h3 { | h3 { | ||
color: | color: var(--edda-primary2) !important; | ||
font-size: 14px !important; | font-size: 14px !important; | ||
font-weight: 700 !important; | font-weight: 700 !important; | ||
| Linha 190: | Linha 215: | ||
} | } | ||
a, a:visited { color: | a, a:visited { color: var(--edda-primary2) !important; text-decoration: none !important; } | ||
a:hover { color: | a:hover { color: var(--edda-primary) !important; text-decoration: underline !important; } | ||
a.new { color: #E05252 !important; } | a.new { color: #E05252 !important; } | ||
| Linha 200: | Linha 225: | ||
font-size: 13px !important; | font-size: 13px !important; | ||
margin: 14px 0 !important; | margin: 14px 0 !important; | ||
border: 1px solid | border: 1px solid var(--edda-border) !important; | ||
border-radius: 8px !important; | border-radius: 8px !important; | ||
overflow: hidden !important; | overflow: hidden !important; | ||
} | } | ||
table.wikitable th { | table.wikitable th { | ||
background: | background: var(--edda-dark) !important; | ||
color: | color: var(--edda-accent) !important; | ||
font-size: 10.5px !important; | font-size: 10.5px !important; | ||
font-weight: 700 !important; | font-weight: 700 !important; | ||
| Linha 216: | Linha 241: | ||
table.wikitable td { | table.wikitable td { | ||
padding: 8px 14px !important; | padding: 8px 14px !important; | ||
border: 1px solid | border: 1px solid var(--edda-border-soft) !important; | ||
background: | background: var(--edda-surface) !important; | ||
color: | color: var(--edda-text) !important; | ||
} | } | ||
table.wikitable tr:nth-child(even) td { background: | table.wikitable tr:nth-child(even) td { background: var(--edda-surface-alt) !important; } | ||
table.wikitable tr:hover td { background: | table.wikitable tr:hover td { background: var(--edda-surface-hover) !important; } | ||
/* === TOC ================================================== */ | /* === TOC ================================================== */ | ||
#toc, .toc { | #toc, .toc { | ||
background: | background: var(--edda-surface-alt) !important; | ||
border: 1px solid | border: 1px solid var(--edda-border) !important; | ||
border-radius: 8px !important; | border-radius: 8px !important; | ||
padding: 12px 16px !important; | padding: 12px 16px !important; | ||
| Linha 233: | Linha 258: | ||
#toc h2, .toc h2 { | #toc h2, .toc h2 { | ||
font-size: 11px !important; | font-size: 11px !important; | ||
color: | color: var(--edda-muted) !important; | ||
font-weight: 700 !important; | font-weight: 700 !important; | ||
text-transform: uppercase !important; | text-transform: uppercase !important; | ||
| Linha 241: | Linha 266: | ||
padding: 0 !important; | padding: 0 !important; | ||
} | } | ||
#toc a, .toc a { color: | #toc a, .toc a { color: var(--edda-primary2) !important; font-size: 12px !important; } | ||
/* === CATEGORIAS =========================================== */ | /* === CATEGORIAS =========================================== */ | ||
#catlinks { | #catlinks { | ||
background: | background: var(--edda-surface-alt) !important; | ||
border: 1px solid | border: 1px solid var(--edda-border) !important; | ||
border-radius: 8px !important; | border-radius: 8px !important; | ||
padding: 8px 14px !important; | padding: 8px 14px !important; | ||
| Linha 261: | Linha 286: | ||
#footer, .mw-footer { | #footer, .mw-footer { | ||
background: | background: var(--edda-dark) !important; | ||
border-top: 1px solid | border-top: 1px solid var(--edda-border-soft) !important; | ||
padding: 10px 20px !important; | padding: 10px 20px !important; | ||
min-height: unset !important; | min-height: unset !important; | ||
| Linha 278: | Linha 303: | ||
#footer-places li:last-child::after { content: ""; } | #footer-places li:last-child::after { content: ""; } | ||
#footer a { color: rgba(255,255,255,0.45) !important; } | #footer a { color: rgba(255,255,255,0.45) !important; } | ||
#footer a:hover { color: | #footer a:hover { color: var(--edda-primary) !important; } | ||
#footer-icons { display: none !important; } | #footer-icons { display: none !important; } | ||
/* === EDIT BOX ============================================= */ | /* === EDIT BOX ============================================= */ | ||
#wpTextbox1 { | #wpTextbox1 { | ||
border: 1px solid | border: 1px solid var(--edda-border) !important; | ||
border-radius: 6px !important; | border-radius: 6px !important; | ||
padding: 10px !important; | padding: 10px !important; | ||
font-size: 13px !important; | font-size: 13px !important; | ||
font-family: "Courier New", monospace !important; | font-family: "Courier New", monospace !important; | ||
background: var(--edda-surface) !important; | |||
color: var(--edda-text) !important; | |||
} | } | ||
| Linha 293: | Linha 320: | ||
.mw-ui-progressive, | .mw-ui-progressive, | ||
.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { | .oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { | ||
background: | background: var(--edda-primary) !important; | ||
border-color: | border-color: var(--edda-primary2) !important; | ||
color: #fff !important; | color: #fff !important; | ||
border-radius: 6px !important; | border-radius: 6px !important; | ||
| Linha 302: | Linha 329: | ||
::-webkit-scrollbar { width: 5px; height: 5px; } | ::-webkit-scrollbar { width: 5px; height: 5px; } | ||
::-webkit-scrollbar-track { background: transparent; } | ::-webkit-scrollbar-track { background: transparent; } | ||
::-webkit-scrollbar-thumb { background: | ::-webkit-scrollbar-thumb { background: var(--edda-border); border-radius: 3px; } | ||
::-webkit-scrollbar-thumb:hover { background: | ::-webkit-scrollbar-thumb:hover { background: var(--edda-primary); } | ||
/* ============================================================ | /* ============================================================ | ||
| Linha 321: | Linha 348: | ||
.edda-card { | .edda-card { | ||
background: | background: var(--edda-surface); | ||
border: 1px solid | border: 1px solid var(--edda-border); | ||
border-radius: 10px; | border-radius: 10px; | ||
padding: 16px; | padding: 16px; | ||
display: block; | display: block; | ||
text-decoration: none !important; | text-decoration: none !important; | ||
color: | color: var(--edda-text) !important; | ||
transition: all 0.18s; | transition: all 0.18s; | ||
} | } | ||
.edda-card:hover { | .edda-card:hover { | ||
border-color: | border-color: var(--edda-primary); | ||
box-shadow: 0 4px 16px rgba(14,165,233,0.14); | box-shadow: 0 4px 16px rgba(14,165,233,0.14); | ||
transform: translateY(-2px); | transform: translateY(-2px); | ||
| Linha 337: | Linha 364: | ||
} | } | ||
.edda-card-icon { font-size: 24px; margin-bottom: 8px; } | .edda-card-icon { font-size: 24px; margin-bottom: 8px; } | ||
.edda-card-title { font-size: 13px; font-weight: 700; color: | .edda-card-title { font-size: 13px; font-weight: 700; color: var(--edda-heading); margin-bottom: 4px; } | ||
.edda-card-desc { font-size: 11px; color: | .edda-card-desc { font-size: 11px; color: var(--edda-muted); line-height: 1.5; } | ||
.edda-hero { | .edda-hero { | ||
background: | background: var(--edda-dark); | ||
border-radius: 10px; | border-radius: 10px; | ||
padding: 32px 28px; | padding: 32px 28px; | ||
| Linha 350: | Linha 377: | ||
} | } | ||
.edda-hero-title { color: #fff; font-size: 22px; font-weight: 700; margin-bottom: 8px; } | .edda-hero-title { color: #fff; font-size: 22px; font-weight: 700; margin-bottom: 8px; } | ||
.edda-hero-title .accent { color: | .edda-hero-title .accent { color: var(--edda-primary); } | ||
.edda-hero-sub { color: rgba(255,255,255,0.5); font-size: 12.5px; line-height: 1.6; margin-bottom: 16px; } | .edda-hero-sub { color: rgba(255,255,255,0.5); font-size: 12.5px; line-height: 1.6; margin-bottom: 16px; } | ||
| Linha 369: | Linha 396: | ||
display: grid; | display: grid; | ||
grid-template-columns: repeat(6, 1fr); | grid-template-columns: repeat(6, 1fr); | ||
background: | background: var(--edda-surface); | ||
border: 1px solid | border: 1px solid var(--edda-border); | ||
border-radius: 10px; | border-radius: 10px; | ||
overflow: hidden; | overflow: hidden; | ||
margin-bottom: 18px; | margin-bottom: 18px; | ||
} | } | ||
.edda-infobar-cell { padding: 10px 12px; border-right: 1px solid | .edda-infobar-cell { padding: 10px 12px; border-right: 1px solid var(--edda-border-soft); text-align: center; } | ||
.edda-infobar-cell:last-child { border-right: none; } | .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: | .edda-infobar-label { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--edda-muted); margin-bottom: 3px; } | ||
.edda-infobar-value { font-size: 12px; font-weight: 700; color: | .edda-infobar-value { font-size: 12px; font-weight: 700; color: var(--edda-heading); } | ||
.edda-infobar-value.blue { color: | .edda-infobar-value.blue { color: var(--edda-primary2); } | ||
.edda-section-header { display: flex; align-items: center; gap: 10px; margin: 20px 0 12px; } | .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: | .edda-section-title { font-size: 12.5px; font-weight: 700; color: var(--edda-heading); white-space: nowrap; } | ||
.edda-section-line { flex: 1; height: 1px; background: | .edda-section-line { flex: 1; height: 1px; background: var(--edda-border); } | ||
.edda-banner { | .edda-banner { | ||
background: | background: var(--edda-dark); | ||
border: 1px solid rgba(14,165,233,0.22); | border: 1px solid rgba(14,165,233,0.22); | ||
border-radius: 10px; | border-radius: 10px; | ||
| Linha 402: | Linha 429: | ||
background: rgba(14,165,233,0.18); | background: rgba(14,165,233,0.18); | ||
border: 1px solid rgba(14,165,233,0.35); | border: 1px solid rgba(14,165,233,0.35); | ||
color: | color: var(--edda-accent); | ||
font-size: 10px; | font-size: 10px; | ||
font-weight: 700; | font-weight: 700; | ||
| Linha 413: | Linha 440: | ||
float: right; | float: right; | ||
clear: right; | clear: right; | ||
background: | background: var(--edda-surface); | ||
border: 1px solid | border: 1px solid var(--edda-border); | ||
border-radius: 10px; | border-radius: 10px; | ||
margin: 0 0 16px 20px; | margin: 0 0 16px 20px; | ||
| Linha 422: | Linha 449: | ||
} | } | ||
.edda-infobox-title { | .edda-infobox-title { | ||
background: | background: var(--edda-dark); | ||
color: | color: var(--edda-accent); | ||
font-size: 12px; | font-size: 12px; | ||
font-weight: 700; | font-weight: 700; | ||
| Linha 430: | Linha 457: | ||
} | } | ||
.edda-infobox table { width: 100%; border-collapse: collapse; } | .edda-infobox table { width: 100%; border-collapse: collapse; } | ||
.edda-infobox td { padding: 7px 12px; border-bottom: 1px solid | .edda-infobox td { padding: 7px 12px; border-bottom: 1px solid var(--edda-border-soft); font-size: 12px; color: var(--edda-text); } | ||
.edda-infobox td:first-child { font-weight: 700; color: | .edda-infobox td:first-child { font-weight: 700; color: var(--edda-muted); width: 45%; } | ||
.edda-infobox tr:last-child td { border-bottom: none; } | .edda-infobox tr:last-child td { border-bottom: none; } | ||
.edda-drops { width: 100%; border-collapse: collapse; font-size: 12px; border: 1px solid | .edda-drops { width: 100%; border-collapse: collapse; font-size: 12px; border: 1px solid var(--edda-border); border-radius: 8px; overflow: hidden; } | ||
.edda-drops thead th { background: | .edda-drops thead th { background: var(--edda-dark); color: var(--edda-accent); 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 | .edda-drops tbody td { padding: 7px 12px; border-bottom: 1px solid var(--edda-border-soft); color: var(--edda-text); } | ||
.edda-drops tbody tr:hover td { background: | .edda-drops tbody tr:hover td { background: var(--edda-surface-hover); } | ||
.drop-rare { color: #9B59D0; font-weight: 700; } | .drop-rare { color: #9B59D0; font-weight: 700; } | ||
.drop-uncommon { color: #D97706; font-weight: 600; } | .drop-uncommon { color: #D97706; font-weight: 600; } | ||
.drop-common { color: | .drop-common { color: var(--edda-muted); } | ||
/* === FIX ABAS DO HEADER =================================== */ | /* === FIX ABAS DO HEADER =================================== */ | ||
| Linha 475: | Linha 502: | ||
#p-namespaces li.selected a, | #p-namespaces li.selected a, | ||
#p-views li.selected a { | #p-views li.selected a { | ||
color: | color: var(--edda-accent) !important; | ||
background: rgba(14,165,233,0.15) !important; | background: rgba(14,165,233,0.15) !important; | ||
border-bottom: 2px solid | border-bottom: 2px solid var(--edda-primary) !important; | ||
} | } | ||
| Linha 502: | Linha 529: | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* ============================================================ | |||
TOGGLE DE TEMA (depende do Common.js abaixo) | |||
============================================================ */ | |||
#edda-theme-toggle { | |||
position: fixed; | |||
bottom: 18px; | |||
right: 18px; | |||
z-index: 9999; | |||
background: var(--edda-dark); | |||
color: var(--edda-accent); | |||
border: 1px solid var(--edda-border); | |||
border-radius: 20px; | |||
padding: 8px 16px; | |||
font-size: 12px; | |||
font-weight: 700; | |||
letter-spacing: 0.3px; | |||
cursor: pointer; | |||
box-shadow: 0 4px 14px rgba(0,0,0,0.25); | |||
transition: transform 0.15s ease; | |||
} | |||
#edda-theme-toggle:hover { transform: translateY(-2px); } | |||
Edição das 20h48min de 4 de julho de 2026
/* ============================================================
EDDA WORLD WIKI — Common.css COMPLETO
Versão com suporte a tema claro/escuro · Cola e esquece
============================================================ */
/* === VARIÁVEIS (tema claro — padrão) ======================= */
:root {
--edda-primary: #0EA5E9;
--edda-primary2: #0284C7;
--edda-dark: #050E1F;
--edda-accent: #7DD8FF;
--edda-border: rgba(14, 165, 233, 0.18);
--edda-border-soft: rgba(14, 165, 233, 0.08);
--edda-text: #1A2640;
--edda-heading: #0C1A36;
--edda-muted: #7A90AC;
--edda-surface: #ffffff;
--edda-surface-alt: #F4F8FF;
--edda-surface-hover: #E8F5FF;
--edda-radius: 10px;
}
/* === VARIÁVEIS (tema escuro) ================================ */
html[data-theme="dark"] {
--edda-primary: #38BDF8;
--edda-primary2: #56C2F5;
--edda-dark: #000814;
--edda-accent: #7DD8FF;
--edda-border: rgba(56, 189, 248, 0.28);
--edda-border-soft: rgba(56, 189, 248, 0.14);
--edda-text: #E2E8F0;
--edda-heading: #F1F5F9;
--edda-muted: #93A9C4;
--edda-surface: #101B30;
--edda-surface-alt: #0B1220;
--edda-surface-hover: rgba(56, 189, 248, 0.1);
}
html, body {
transition: background-color 0.15s ease, color 0.15s ease;
}
/* === FUNDO GERAL ========================================== */
body {
background: var(--edda-surface-alt) !important;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
color: var(--edda-text) !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: var(--edda-dark) !important;
border-bottom: 1px solid var(--edda-border) !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: var(--edda-accent) !important;
border-bottom: 2px solid var(--edda-primary) !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: var(--edda-primary) !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: var(--edda-surface) !important;
border-right: 1px solid var(--edda-border-soft) !important;
}
.vector-column-start {
width: 220px !important;
flex-shrink: 0 !important;
background: var(--edda-surface) !important;
border-right: 1px solid var(--edda-border-soft) !important;
}
#column-one {
width: 220px !important;
background: var(--edda-surface) !important;
}
.portal h3,
#p-tb h3,
#p-navigation h3 {
color: var(--edda-primary) !important;
font-size: 9.5px !important;
font-weight: 700 !important;
letter-spacing: 1px !important;
text-transform: uppercase !important;
border-bottom: 1px solid var(--edda-border) !important;
padding-bottom: 4px !important;
margin-bottom: 5px !important;
}
.portal li a,
#p-tb li a,
#p-navigation li a {
color: var(--edda-muted) !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: var(--edda-primary) !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: var(--edda-surface) !important;
border: 1px solid var(--edda-border) !important;
border-radius: 10px !important;
box-shadow: 0 1px 6px rgba(14,165,233,0.07) !important;
padding: 24px 28px !important;
color: var(--edda-text) !important;
}
#column-content {
margin-left: 250px !important;
}
#mw-head-base {
margin-left: 230px !important;
}
/* === TIPOGRAFIA =========================================== */
h1.firstHeading,
#firstHeading {
color: var(--edda-heading) !important;
font-size: 22px !important;
font-weight: 700 !important;
border-bottom: 2px solid var(--edda-primary) !important;
padding-bottom: 10px !important;
margin-bottom: 20px !important;
}
h2 {
color: var(--edda-heading) !important;
font-size: 16px !important;
font-weight: 700 !important;
border-bottom: 1px solid var(--edda-border) !important;
padding-bottom: 6px !important;
margin: 24px 0 12px !important;
}
h3 {
color: var(--edda-primary2) !important;
font-size: 14px !important;
font-weight: 700 !important;
margin: 16px 0 8px !important;
}
a, a:visited { color: var(--edda-primary2) !important; text-decoration: none !important; }
a:hover { color: var(--edda-primary) !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 var(--edda-border) !important;
border-radius: 8px !important;
overflow: hidden !important;
}
table.wikitable th {
background: var(--edda-dark) !important;
color: var(--edda-accent) !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 var(--edda-border-soft) !important;
background: var(--edda-surface) !important;
color: var(--edda-text) !important;
}
table.wikitable tr:nth-child(even) td { background: var(--edda-surface-alt) !important; }
table.wikitable tr:hover td { background: var(--edda-surface-hover) !important; }
/* === TOC ================================================== */
#toc, .toc {
background: var(--edda-surface-alt) !important;
border: 1px solid var(--edda-border) !important;
border-radius: 8px !important;
padding: 12px 16px !important;
font-size: 12.5px !important;
}
#toc h2, .toc h2 {
font-size: 11px !important;
color: var(--edda-muted) !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: var(--edda-primary2) !important; font-size: 12px !important; }
/* === CATEGORIAS =========================================== */
#catlinks {
background: var(--edda-surface-alt) !important;
border: 1px solid var(--edda-border) !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: var(--edda-dark) !important;
border-top: 1px solid var(--edda-border-soft) !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: var(--edda-primary) !important; }
#footer-icons { display: none !important; }
/* === EDIT BOX ============================================= */
#wpTextbox1 {
border: 1px solid var(--edda-border) !important;
border-radius: 6px !important;
padding: 10px !important;
font-size: 13px !important;
font-family: "Courier New", monospace !important;
background: var(--edda-surface) !important;
color: var(--edda-text) !important;
}
/* === BOTÕES =============================================== */
.mw-ui-progressive,
.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
background: var(--edda-primary) !important;
border-color: var(--edda-primary2) !important;
color: #fff !important;
border-radius: 6px !important;
}
/* === SCROLLBAR =========================================== */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--edda-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--edda-primary); }
/* ============================================================
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: var(--edda-surface);
border: 1px solid var(--edda-border);
border-radius: 10px;
padding: 16px;
display: block;
text-decoration: none !important;
color: var(--edda-text) !important;
transition: all 0.18s;
}
.edda-card:hover {
border-color: var(--edda-primary);
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: var(--edda-heading); margin-bottom: 4px; }
.edda-card-desc { font-size: 11px; color: var(--edda-muted); line-height: 1.5; }
.edda-hero {
background: var(--edda-dark);
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: var(--edda-primary); }
.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: var(--edda-surface);
border: 1px solid var(--edda-border);
border-radius: 10px;
overflow: hidden;
margin-bottom: 18px;
}
.edda-infobar-cell { padding: 10px 12px; border-right: 1px solid var(--edda-border-soft); 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: var(--edda-muted); margin-bottom: 3px; }
.edda-infobar-value { font-size: 12px; font-weight: 700; color: var(--edda-heading); }
.edda-infobar-value.blue { color: var(--edda-primary2); }
.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: var(--edda-heading); white-space: nowrap; }
.edda-section-line { flex: 1; height: 1px; background: var(--edda-border); }
.edda-banner {
background: var(--edda-dark);
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: var(--edda-accent);
font-size: 10px;
font-weight: 700;
padding: 4px 10px;
border-radius: 20px;
white-space: nowrap;
}
.edda-infobox {
float: right;
clear: right;
background: var(--edda-surface);
border: 1px solid var(--edda-border);
border-radius: 10px;
margin: 0 0 16px 20px;
width: 280px;
overflow: hidden;
font-size: 12px;
}
.edda-infobox-title {
background: var(--edda-dark);
color: var(--edda-accent);
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 var(--edda-border-soft); font-size: 12px; color: var(--edda-text); }
.edda-infobox td:first-child { font-weight: 700; color: var(--edda-muted); width: 45%; }
.edda-infobox tr:last-child td { border-bottom: none; }
.edda-drops { width: 100%; border-collapse: collapse; font-size: 12px; border: 1px solid var(--edda-border); border-radius: 8px; overflow: hidden; }
.edda-drops thead th { background: var(--edda-dark); color: var(--edda-accent); 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 var(--edda-border-soft); color: var(--edda-text); }
.edda-drops tbody tr:hover td { background: var(--edda-surface-hover); }
.drop-rare { color: #9B59D0; font-weight: 700; }
.drop-uncommon { color: #D97706; font-weight: 600; }
.drop-common { color: var(--edda-muted); }
/* === 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: var(--edda-accent) !important;
background: rgba(14,165,233,0.15) !important;
border-bottom: 2px solid var(--edda-primary) !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;
}
#p-logo {
display: none !important;
}
/* ============================================================
TOGGLE DE TEMA (depende do Common.js abaixo)
============================================================ */
#edda-theme-toggle {
position: fixed;
bottom: 18px;
right: 18px;
z-index: 9999;
background: var(--edda-dark);
color: var(--edda-accent);
border: 1px solid var(--edda-border);
border-radius: 20px;
padding: 8px 16px;
font-size: 12px;
font-weight: 700;
letter-spacing: 0.3px;
cursor: pointer;
box-shadow: 0 4px 14px rgba(0,0,0,0.25);
transition: transform 0.15s ease;
}
#edda-theme-toggle:hover { transform: translateY(-2px); }