MediaWiki:Common.css
Nota: Após publicar, você pode ter que limpar o "cache" do seu navegador para ver as alterações.
- Firefox / Safari: Pressione Shift enquanto clica Recarregar, ou pressione Ctrl-F5 ou Ctrl-R (⌘-R no Mac)
- Google Chrome: Pressione Ctrl-Shift-R (⌘-Shift-R no Mac)
- Internet Explorer/Edge: PressioneCtrl enquanto clica Recarregar, ou Pressione Ctrl-F5
- Opera: Pressione Ctrl-F5.
/* ============================================================
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 ================================================= */
#p-logo {
position: relative !important;
height: 50px !important;
width: 155px !important;
overflow: hidden !important;
margin: 0 !important;
padding: 4px 8px !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
box-sizing: border-box !important;
}
#p-logo a {
display: flex !important;
align-items: center !important;
justify-content: center !important;
width: 100% !important;
height: 100% !important;
background-size: contain !important;
background-repeat: no-repeat !important;
background-position: center !important;
}
#p-logo img,
#p-logo a > img {
max-width: 110px !important;
max-height: 42px !important;
width: auto !important;
height: auto !important;
object-fit: contain !important;
display: block !important;
position: static !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 ============================================== */
/* Vector Legacy */
#mw-panel {
position: absolute !important;
width: 155px !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 2022 */
.vector-column-start {
width: 155px !important;
flex-shrink: 0 !important;
background: #fff !important;
border-right: 1px solid rgba(14,165,233,0.12) !important;
}
/* Coluna legacy */
#column-one {
width: 155px !important;
background: #fff !important;
}
/* Títulos das seções da sidebar */
.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;
}
/* Links da sidebar */
.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;
}
/* Portlets compactos */
.portal {
margin: 6px 0 !important;
padding: 0 8px !important;
}
/* === CONTEÚDO PRINCIPAL =================================== */
/* Vector Legacy */
#content,
div#content {
margin-left: 165px !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;
}
/* Coluna legacy */
#column-content {
margin-left: 155px !important;
}
/* Header tabs margin */
#mw-head-base {
margin-left: 155px !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;
}
/* Links */
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, .mw-footer {
background: #050E1F !important;
border-top: 1px solid rgba(14,165,233,0.15) !important;
padding: 14px 24px !important;
}
#footer li, #footer-info li, #footer-places li {
color: rgba(255,255,255,0.4) !important;
font-size: 11px !important;
}
#footer a, .mw-footer a { color: rgba(255,255,255,0.45) !important; }
#footer a:hover, .mw-footer a:hover { color: #0EA5E9 !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 — use nas páginas com <html>...</html>
============================================================ */
/* GRID */
.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; }
}
/* CARD */
.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; }
/* HERO */
.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; }
/* PILLS */
.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;
}
/* INFO BAR */
.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; }
/* SECTION HEADER */
.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); }
/* BANNER */
.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;
}
/* INFOBOX (float right) */
.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; }
/* DROP TABLE */
.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; }
/* === ESCONDE "Esta página foi modificada" ================= */
#footer-info-lastmod,
li#footer-info-lastmod {
display: none !important;
}
/* Opcional: esconde o footer inteiro na página principal */
/* Se quiser manter o footer em outras páginas, deixa só o de cima */
.page-Página_principal #footer-info {
display: none !important;
}