MediaWiki:Common.css: mudanças entre as edições
Ir para navegação
Ir para pesquisar
Round 2: header/footer full-width + sidebar bg + tabs cor |
Round 3: fix Admcrash white color |
||
| Linha 79: | Linha 79: | ||
} | } | ||
/* Personal tools (Anonimo/Entrar) */ | /* Personal tools (Anonimo/Entrar/Admcrash) — FORCE white no header escuro */ | ||
#user-tools, | |||
#user-tools *, | |||
#personal, | |||
#personal *, | |||
#personal h2, | |||
#personal h2 span, | |||
#personal-inner, | |||
#p-personal, | |||
#p-personal h3, | |||
#p-personal-label { | |||
color: rgba(255,255,255,0.9) !important; | |||
} | |||
#user-tools h2 span, | #user-tools h2 span, | ||
#personal h2 span { | #personal h2 span { | ||
color: rgba(255,255,255,0. | color: rgba(255,255,255,0.95) !important; | ||
font-weight: 600 !important; | |||
} | } | ||
#p-personal a { | #p-personal a { | ||
color: #f4d97a !important; | color: #f4d97a !important; | ||
} | |||
#p-personal a:hover { | |||
color: #fff !important; | |||
} | |||
/* Notification badge */ | |||
.mw-echo-notifications-badge, | |||
#pt-notifications-alert, | |||
#pt-notifications-notice { | |||
filter: brightness(1.2) !important; | |||
} | } | ||
Edição das 20h51min de 28 de maio de 2026
/* ============================================================
AureumRO Wiki — Common.css (Timeless skin + visual estilo Edda)
Paleta dourada AureumRO
============================================================ */
:root {
--aur-primary: #d4af37;
--aur-primary2: #a8861f;
--aur-dark: #1b1304;
--aur-accent: #f4d97a;
--aur-border: rgba(212, 175, 55, 0.18);
--aur-text: #3a2614;
--aur-muted: #a09075;
--aur-surface: #fdf8e8;
}
/* === FUNDO GERAL ========================================== */
body {
background: #fdf8e8 !important;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
color: #3a2614 !important;
}
/* === HEADER / TOPBAR (Timeless) — FULL-WIDTH ============== */
#mw-header-container,
#mw-header-container.ts-container {
background: #1b1304 !important;
border-bottom: 1px solid rgba(212,175,55,0.25) !important;
box-shadow: 0 2px 12px rgba(0,0,0,0.3) !important;
max-width: none !important;
width: 100% !important;
padding-left: 0 !important;
padding-right: 0 !important;
}
#mw-header {
background: transparent !important;
max-width: 1400px !important;
margin: 0 auto !important;
padding: 0 24px !important;
}
/* Remover completamente as color-bars hack (eram a "barrinha vermelha") */
#mw-header-hack,
#mw-header-nav-hack {
display: none !important;
height: 0 !important;
background: transparent !important;
border: none !important;
}
#mw-header-hack .color-bar,
#mw-header-nav-hack .color-bar,
#mw-header-hack .color-middle,
#mw-header-hack .color-left,
#mw-header-hack .color-right,
#mw-header-nav-hack .color-middle,
#mw-header-nav-hack .color-left,
#mw-header-nav-hack .color-right {
display: none !important;
}
/* Wordmark no header — FIX: limitar altura */
#p-logo-text {
display: inline-flex !important;
align-items: center !important;
height: 60px !important;
padding: 0 16px !important;
margin-right: 16px !important;
}
#p-logo-text a.mw-wiki-title.wordmark {
display: inline-flex !important;
align-items: center !important;
height: 100% !important;
filter: brightness(1.1) !important;
}
#p-logo-text a.mw-wiki-title.wordmark img {
max-height: 42px !important;
width: auto !important;
height: auto !important;
}
/* Personal tools (Anonimo/Entrar/Admcrash) — FORCE white no header escuro */
#user-tools,
#user-tools *,
#personal,
#personal *,
#personal h2,
#personal h2 span,
#personal-inner,
#p-personal,
#p-personal h3,
#p-personal-label {
color: rgba(255,255,255,0.9) !important;
}
#user-tools h2 span,
#personal h2 span {
color: rgba(255,255,255,0.95) !important;
font-weight: 600 !important;
}
#p-personal a {
color: #f4d97a !important;
}
#p-personal a:hover {
color: #fff !important;
}
/* Notification badge */
.mw-echo-notifications-badge,
#pt-notifications-alert,
#pt-notifications-notice {
filter: brightness(1.2) !important;
}
/* === BUSCA — FIX para Timeless (search no header escuro) === */
#p-search,
#mw-header #p-search {
display: inline-flex !important;
align-items: center !important;
background: transparent !important;
}
#p-search h3,
#mw-header #p-search h3 {
display: none !important;
}
#searchInput,
input[name="search"],
.cdx-text-input__input,
#mw-header #searchInput,
#mw-header input[name="search"] {
border-radius: 20px !important;
border: 1px solid rgba(212,175,55,0.4) !important;
background: rgba(255,255,255,0.1) !important;
color: #fff !important;
padding: 6px 16px !important;
font-size: 12px !important;
height: 32px !important;
box-sizing: border-box !important;
max-width: 280px !important;
}
#searchInput::placeholder,
#mw-header #searchInput::placeholder {
color: rgba(255,255,255,0.45) !important;
}
#mw-searchButton,
#searchButton,
.searchButton,
.mw-fallbackSearchButton {
background: #d4af37 !important;
border-radius: 16px !important;
border: none !important;
color: #1b1304 !important;
height: 32px !important;
padding: 0 14px !important;
font-size: 11px !important;
font-weight: 700 !important;
margin-left: 4px !important;
}
#simpleSearch,
#searchInput-container {
background: transparent !important;
border: none !important;
display: inline-flex !important;
align-items: center !important;
}
/* === BACKGROUND CORPO: estende cor da sidebar verticalmente == */
/* Cria coluna branca à esquerda (220px = largura sidebar) que estende */
#mw-content-container,
#mw-content-container.ts-container {
background: linear-gradient(to right,
#fff 0,
#fff 220px,
#fdf8e8 220px,
#fdf8e8 100%) !important;
max-width: none !important;
width: 100% !important;
padding-left: 0 !important;
padding-right: 0 !important;
}
#mw-content-block {
max-width: 1400px !important;
margin: 0 auto !important;
background: transparent !important;
}
/* === SIDEBAR ESQUERDA (Timeless: #mw-site-navigation) ==== */
#mw-site-navigation {
background: transparent !important;
border-right: 1px solid rgba(212,175,55,0.15) !important;
}
.sidebar-chunk {
background: #fff !important;
border-bottom: 1px solid rgba(212,175,55,0.1) !important;
}
.sidebar-chunk > h2 {
background: linear-gradient(180deg, #fdf8e8, #fff) !important;
border: none !important;
border-bottom: 1px solid rgba(212,175,55,0.18) !important;
}
.sidebar-chunk > h2 > span {
color: #d4af37 !important;
font-size: 10px !important;
font-weight: 700 !important;
letter-spacing: 1px !important;
text-transform: uppercase !important;
}
.sidebar-inner .mw-portlet h3 {
color: #a8861f !important;
font-size: 9.5px !important;
font-weight: 700 !important;
letter-spacing: 1px !important;
text-transform: uppercase !important;
border-bottom: 1px solid rgba(212,175,55,0.15) !important;
padding-bottom: 4px !important;
margin: 8px 0 5px !important;
}
.sidebar-inner .mw-portlet li a {
color: #7a6644 !important;
font-size: 12px !important;
text-decoration: none !important;
line-height: 1.8 !important;
transition: color 0.15s !important;
}
.sidebar-inner .mw-portlet li a:hover {
color: #d4af37 !important;
}
/* === LOGO PRINCIPAL na sidebar — FIX: sem gradient ======== */
#p-logo {
text-align: center !important;
padding: 20px 12px !important;
background: #fff !important;
border-bottom: 1px solid rgba(212,175,55,0.15) !important;
margin: 0 !important;
}
a.mw-wiki-logo,
a.mw-wiki-logo.timeless-logo {
display: inline-block !important;
background: none !important;
width: auto !important;
height: auto !important;
}
a.mw-wiki-logo img,
a.mw-wiki-logo.timeless-logo img {
max-width: 160px !important;
width: 100% !important;
height: auto !important;
display: block !important;
}
/* === SIDEBAR DIREITA — REMOVIDA =========================== */
#mw-related-navigation {
display: none !important;
}
/* Expande content pra ocupar o espaço */
@media (min-width: 1100px) {
#mw-content-container,
#mw-content-block {
max-width: 100% !important;
}
#mw-content {
margin-right: 16px !important;
}
}
/* === CONTEÚDO PRINCIPAL =================================== */
#mw-content {
background: #fff !important;
border: 1px solid rgba(212,175,55,0.18) !important;
border-radius: 10px !important;
box-shadow: 0 1px 6px rgba(212,175,55,0.07) !important;
margin: 12px 0 12px 16px !important;
}
#content, div#content {
padding: 24px 28px !important;
background: transparent !important;
border: none !important;
}
/* Page header links (abas Espaços nominais, Ações, Mais) */
#mw-page-header-links {
border-bottom: 1px solid rgba(212,175,55,0.15) !important;
padding-bottom: 0 !important;
margin-bottom: 16px !important;
}
.tools-inline.mw-portlet h3 {
display: none !important;
}
.tools-inline li {
background: transparent !important;
}
.tools-inline li a,
.tools-inline li a span {
color: #a09075 !important;
font-size: 11px !important;
padding: 6px 10px !important;
text-decoration: none !important;
}
.tools-inline li a:hover,
.tools-inline li a:hover span {
color: #d4af37 !important;
background: rgba(212,175,55,0.08) !important;
}
.tools-inline li.selected a,
.tools-inline li.selected a span {
color: #d4af37 !important;
border-bottom: 2px solid #d4af37 !important;
background: rgba(212,175,55,0.08) !important;
}
/* Icones SVG dos botoes editar/historico ficavam avermelhados */
.tools-inline li a::before,
.tools-inline li a span::before,
.tools-inline svg,
.tools-inline svg path {
fill: #a09075 !important;
filter: hue-rotate(0deg) saturate(0.3) !important;
opacity: 0.7 !important;
}
.tools-inline li a:hover::before,
.tools-inline li a:hover svg,
.tools-inline li a:hover svg path {
fill: #d4af37 !important;
opacity: 1 !important;
}
/* === TIPOGRAFIA =========================================== */
h1.firstHeading,
#firstHeading {
color: #3a2614 !important;
font-size: 22px !important;
font-weight: 700 !important;
border-bottom: 2px solid #d4af37 !important;
padding-bottom: 10px !important;
margin-bottom: 16px !important;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}
h2 {
color: #3a2614 !important;
font-size: 16px !important;
font-weight: 700 !important;
border-bottom: 1px solid rgba(212,175,55,0.2) !important;
padding-bottom: 6px !important;
margin: 24px 0 12px !important;
}
h3 {
color: #a8861f !important;
font-size: 14px !important;
font-weight: 700 !important;
margin: 16px 0 8px !important;
}
#siteSub {
color: #a09075 !important;
font-size: 11px !important;
font-style: italic !important;
margin-bottom: 4px !important;
}
a, a:visited { color: #a8861f !important; text-decoration: none !important; }
a:hover { color: #d4af37 !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(212,175,55,0.18) !important;
border-radius: 8px !important;
overflow: hidden !important;
}
table.wikitable th {
background: #1b1304 !important;
color: #f4d97a !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(212,175,55,0.2) !important;
}
table.wikitable td {
padding: 8px 14px !important;
border: 1px solid rgba(212,175,55,0.1) !important;
background: #fff !important;
color: #3a2614 !important;
}
table.wikitable tr:nth-child(even) td { background: #fefbf0 !important; }
table.wikitable tr:hover td { background: #fef3d5 !important; }
/* === TOC ================================================== */
#toc, .toc {
background: #fdf8e8 !important;
border: 1px solid rgba(212,175,55,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: #a09075 !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: #a8861f !important; font-size: 12px !important; }
/* === CATEGORIAS =========================================== */
#catlinks {
background: #fdf8e8 !important;
border: 1px solid rgba(212,175,55,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; }
#mw-footer-container,
#mw-footer-container.ts-container {
background: #1b1304 !important;
border-top: 1px solid rgba(212,175,55,0.2) !important;
padding: 16px 0 !important;
min-height: unset !important;
max-width: none !important;
width: 100% !important;
}
#mw-footer,
#footer {
background: transparent !important;
max-width: 1400px !important;
margin: 0 auto !important;
padding: 0 24px !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, #mw-footer a { color: rgba(255,255,255,0.45) !important; }
#footer a:hover, #mw-footer a:hover { color: #d4af37 !important; }
#footer-icons { display: none !important; }
/* === EDIT BOX ============================================= */
#wpTextbox1 {
border: 1px solid rgba(212,175,55,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,
.cdx-button--action-progressive {
background: #d4af37 !important;
border-color: #a8861f !important;
color: #1b1304 !important;
border-radius: 6px !important;
}
/* === SCROLLBAR =========================================== */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(212,175,55,0.25); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #d4af37; }
/* ============================================================
COMPONENTES — naming idêntico ao Edda (.edda-*)
============================================================ */
.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(212,175,55,0.16);
border-radius: 10px;
padding: 16px;
display: block;
text-decoration: none !important;
color: #3a2614 !important;
transition: all 0.18s;
}
.edda-card:hover {
border-color: #d4af37;
box-shadow: 0 4px 16px rgba(212,175,55,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: #3a2614; margin-bottom: 4px; }
.edda-card-desc { font-size: 11px; color: #a09075; line-height: 1.5; }
.edda-hero {
background: #1b1304;
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: #d4af37; }
.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(212,175,55,0.18);
border-radius: 10px;
overflow: hidden;
margin-bottom: 18px;
}
.edda-infobar-cell { padding: 10px 12px; border-right: 1px solid rgba(212,175,55,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: #a09075; margin-bottom: 3px; }
.edda-infobar-value { font-size: 12px; font-weight: 700; color: #3a2614; }
.edda-infobar-value.gold { color: #a8861f; }
.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: #3a2614; white-space: nowrap; }
.edda-section-line { flex: 1; height: 1px; background: rgba(212,175,55,0.15); }
.edda-banner {
background: #1b1304;
border: 1px solid rgba(212,175,55,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(212,175,55,0.18);
border: 1px solid rgba(212,175,55,0.45);
color: #f4d97a;
font-size: 10px;
font-weight: 700;
padding: 4px 10px;
border-radius: 20px;
white-space: nowrap;
}
/* === BLOCOS WIKI (card com header escuro) ================ */
.wiki-blocks {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 12px;
margin-bottom: 16px;
}
.wiki-block {
background: #fff;
border: 1px solid rgba(212,175,55,0.16);
border-radius: 10px;
overflow: hidden;
}
.wiki-block-title {
background: #1b1304;
padding: 9px 16px;
display: flex;
align-items: center;
gap: 8px;
}
.wiki-block-title-text {
color: #f4d97a;
font-size: 10px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.9px;
}
.wiki-link {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 14px;
border-bottom: 1px solid rgba(212,175,55,0.06);
text-decoration: none !important;
color: #3a2614 !important;
font-size: 13px;
transition: color 0.1s, background 0.1s;
}
.wiki-link:last-child { border-bottom: none; }
.wiki-link:hover {
color: #d4af37 !important;
background: #fefbf0;
}
.wiki-link img { image-rendering: pixelated; flex-shrink: 0; }
.wiki-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); }
.wiki-grid-2 .wiki-link { border-right: 1px solid rgba(212,175,55,0.06); }
.wiki-grid-2 .wiki-link:nth-child(2n) { border-right: none; }
.wiki-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); }
.wiki-grid-4 .wiki-link { border-right: 1px solid rgba(212,175,55,0.06); }
.wiki-grid-4 .wiki-link:nth-child(4n) { border-right: none; }
.wiki-full { grid-column: span 2; }
@media (max-width: 850px) {
.wiki-blocks { grid-template-columns: 1fr; }
.wiki-full { grid-column: span 1; }
.wiki-grid-4 { grid-template-columns: repeat(2, 1fr); }
.edda-infobar { grid-template-columns: repeat(2, 1fr); }
}