MediaWiki:Common.css: mudanças entre as edições
Página de Interface do MediaWiki
Mais ações
Etiqueta: Desfazer |
Sem resumo de edição |
||
| Linha 251: | Linha 251: | ||
/* ================================================================= */ | /* ================================================================= */ | ||
/* 📞 GRADE DE CONTATOS ( | /* 📞 GRADE DE CONTATOS — LAYOUT PREMIUM (V3) */ | ||
/* ================================================================= */ | /* ================================================================= */ | ||
.celta-contact-wrapper { | .celta-contact-wrapper { | ||
display: grid; | display: grid; | ||
grid-template-columns: repeat(auto-fit, minmax( | grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); | ||
gap: | gap: 28px; | ||
margin-top: | margin-top: 32px; | ||
padding: 5px; | |||
} | } | ||
/* ================================================================ */ | |||
/* 🎴 CARTÃO - DESIGN MODERNO, SUAVE E PROFISSIONAL */ | |||
/* ================================================================ */ | |||
.celta-contact-card { | .celta-contact-card { | ||
background: #ffffff; | background: #ffffff; | ||
border: 1px solid # | border: 1px solid #e5e7eb; | ||
border-radius: | border-radius: 16px; | ||
padding: | padding: 26px 28px; | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
gap: | gap: 20px; | ||
transition: all 0. | transition: all 0.25s ease; | ||
box-shadow: 0 | box-shadow: 0 4px 12px rgba(0,0,0,0.03); | ||
position: relative; | |||
} | } | ||
.celta-contact-card:hover { | .celta-contact-card:hover { | ||
border-color: # | border-color: #d0d7e6; | ||
box-shadow: 0 | box-shadow: 0 12px 28px -6px rgba(0,0,0,0.12); | ||
transform: translateY(- | transform: translateY(-4px); | ||
} | } | ||
/* | /* ================================================================ */ | ||
/* 🟦 ÍCONE — MENOR, MAIS SUTIL E MAIS ELEGANTE */ | |||
/* ================================================================ */ | |||
.celta-contact-icon { | .celta-contact-icon { | ||
width: | width: 42px; | ||
height: | height: 42px; | ||
border-radius: | border-radius: 12px; | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
font-size: 1. | font-size: 1.35em; | ||
flex-shrink: 0; | flex-shrink: 0; | ||
font-weight: 500; | |||
box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05); | |||
} | } | ||
/* | /* Paleta premium */ | ||
.bg-blue { background: # | .bg-blue { background: #eef4ff; color: #1d4ed8; } | ||
.bg-green { background: # | .bg-green { background: #e9fcee; color: #15803d; } | ||
.bg-red { background: # | .bg-red { background: #fdecec; color: #dc2626; } | ||
.bg-purple { background: #f3e8ff; color: # | .bg-purple { background: #f3e8ff; color: #7c3aed; } | ||
/* ================================================================ */ | |||
/* 🔤 TIPOGRAFIA – MAIS FORTE E MAIS EQUILIBRADA */ | |||
/* ================================================================ */ | |||
.celta-contact-info { | .celta-contact-info { | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
justify-content: center; | |||
} | } | ||
.celta-contact-label { | .celta-contact-label { | ||
font-size: 0. | font-size: 0.9em; | ||
color: #6b7280; | |||
font-weight: 500; | |||
margin-bottom: 4px; | |||
} | } | ||
.celta-contact-value { | .celta-contact-value { | ||
font-size: | font-size: 1.15em; | ||
font-weight: | font-weight: 800; | ||
color: # | color: #0f172a; | ||
line-height: 1.25; | |||
letter-spacing: -0.015em; | |||
transition: color 0.2s ease; | |||
} | |||
.celta-contact-card:hover .celta-contact-value { | |||
color: #2563eb; /* Azul Celta */ | |||
} | } | ||
/* | /* Remove o ícone externo do MediaWiki */ | ||
.celta-contact-card a.external, | .celta-contact-card a.external, | ||
.celta-contact-card a.external:visited { | .celta-contact-card a.external:visited { | ||
| Linha 326: | Linha 345: | ||
color: inherit !important; | color: inherit !important; | ||
text-decoration: none !important; | text-decoration: none !important; | ||
} | } | ||
Edição das 00h21min de 1 de dezembro de 2025
/* ================================================================= */
/* 🧩 CELTA WIKI FRAMEWORK
/* ================================================================= */
/* ================================================================= */
/* 1. COMPONENTES: ALERTAS, BADGES, TABELAS E CARDS */
/* ================================================================= */
/* --- CAIXAS DE NOTA (TEMPLATE:NOTA) --- */
.celta-box {
padding: 12px 16px;
margin: 16px 0;
border-radius: 6px;
border-left: 4px solid #ccc;
background-color: #f9f9f9;
font-size: 0.93em;
}
.celta-box-title {
font-weight: 700; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; text-transform: uppercase; font-size: 0.9em;
}
.celta-info { background: #f0f7ff; border-color: #3366cc; } .celta-info .celta-box-title { color: #3366cc; }
.celta-success { background: #d1e7dd; border-color: #198754; } .celta-success .celta-box-title { color: #155724; }
.celta-warning { background: #fff3cd; border-color: #ffc107; } .celta-warning .celta-box-title { color: #856404; }
.celta-danger { background: #fff5f5; border-color: #dc3545; } .celta-danger .celta-box-title { color: #dc3545; }
/* --- BADGES (ETIQUETAS DE VERSÃO) --- */
.celta-badge {
display: inline-block; padding: 2px 8px; border-radius: 4px;
font-size: 0.75em; font-weight: 700; text-transform: uppercase;
margin-left: 8px; vertical-align: middle; position: relative; top: -1px;
}
.celta-badge-novo { background: #d1e7dd; color: #0f5132; border: 1px solid #badbcc; }
.celta-badge-versao { background: #e2e3e5; color: #383d41; border: 1px solid #d6d8db; }
/* --- TABELAS PADRÃO (CELTA TABLE) --- */
.celta-table {
width: 100%; border-collapse: collapse; border-radius: 8px; overflow: hidden;
box-shadow: 0 0 0 1px #e0e0e0; margin-top: 15px; margin-bottom: 25px;
font-family: 'Segoe UI', Roboto, sans-serif !important;
}
.celta-table th {
background-color: #2c3e50; color: white; padding: 12px 15px;
text-align: left; font-weight: 600; font-size: 1em;
}
.celta-table td {
padding: 12px 15px; border-bottom: 1px solid #eee; vertical-align: top;
font-size: 1em; color: #333;
}
.celta-table tr:last-child td { border-bottom: none; }
.celta-col-key { background-color: #f8f9fa; font-weight: 600; color: #2c3e50; width: 30%; }
.celta-col-value { width: 70%; }
.celta-table ul { margin: 5px 0 !important; padding-left: 20px !important; }
.celta-table li { margin-bottom: 2px !important; }
/* --- GRID E CARDS (LAYOUT GERAL) --- */
.celta-grid {
display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 20px; margin: 20px 0; width: 100%;
}
.celta-card {
border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; padding: 0;
transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column;
overflow: hidden; box-sizing: border-box; box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.celta-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0,0,0,0.06); }
.celta-card-header {
font-weight: 700; color: #1e293b; padding: 20px 20px 15px 20px;
font-size: 1em; display: flex; align-items: center; gap: 10px; background: #fff;
}
.celta-card-body { padding: 0 20px 20px 20px; font-size: 0.95em; color: #64748b; flex-grow: 1; }
/* Listas do CardMenu */
.celta-card-body ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.celta-card-body li { margin: 0 !important; padding: 0 !important; background: transparent !important; border: none !important; }
.celta-card-body li a {
display: block; padding: 8px 0; border-bottom: 1px solid #f1f5f9;
color: #475569; text-decoration: none; font-weight: 500; transition: all 0.2s;
}
.celta-card-body li a:hover { color: #3366cc; padding-left: 5px; border-bottom-color: #e2e8f0; }
.celta-card-body li a::before {
content: "›"; margin-right: 8px; font-size: 1.2em; position: relative; top: 1px; color: #cbd5e1;
}
.celta-card-body li a:hover::before { color: #3366cc; }
.celta-card-body li:last-child a { border-bottom: none; }
/* Cores dos Cards */
.celta-card.accent-blue { border-top: 4px solid #3366cc; } .celta-card.accent-blue .celta-card-header i { color: #3366cc; }
.celta-card.accent-dark { border-top: 4px solid #2c3e50; } .celta-card.accent-dark .celta-card-header i { color: #2c3e50; }
.celta-card.accent-orange { border-top: 4px solid #fd7e14; } .celta-card.accent-orange .celta-card-header i { color: #fd7e14; }
.celta-card.accent-green { border-top: 4px solid #198754; } .celta-card.accent-green .celta-card-header i { color: #198754; }
.celta-card.accent-red { border-top: 4px solid #dc3545; } .celta-card.accent-red .celta-card-header i { color: #dc3545; }
/* Grid 2 colunas */
@media (min-width: 768px) { .celta-grid.celta-grid-2 { grid-template-columns: 1fr 1fr !important; } }
/* ================================================================= */
/* 2. MENU LATERAL - ESTILO SISTEMA (BRANCO E BLINDADO) */
/* ================================================================= */
.celta-sys-menu {
background-color: #ffffff !important; border: 1px solid #e0e0e0 !important;
border-radius: 8px !important; padding: 20px !important;
box-shadow: 0 2px 8px rgba(0,0,0,0.03) !important;
min-width: 260px; height: fit-content;
}
.celta-sys-header {
font-weight: 700; color: #9ca3af; font-size: 0.8em;
text-transform: uppercase; letter-spacing: 1.5px;
margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid #f0f0f0;
text-align: center;
}
.celta-sys-btn {
display: flex !important; align-items: center !important; width: 100% !important; box-sizing: border-box !important;
padding: 10px 15px !important;
background-color: #ffffff !important;
border: 1px solid #e5e7eb !important; border-radius: 6px !important;
color: #4b5563 !important; font-weight: 600 !important; font-size: 0.95em !important; line-height: 1.2 !important;
text-decoration: none !important; margin-bottom: 8px !important; transition: all 0.2s !important;
}
.celta-sys-btn:hover {
background-color: #f8fafc !important; border-color: #cbd5e1 !important; color: #1e293b !important;
transform: translateX(3px) !important; box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
}
.celta-sys-btn i {
font-size: 1.1em !important; color: #94a3b8 !important; margin-right: 12px !important; width: 20px !important; text-align: center !important; display: inline-block !important;
}
.celta-sys-btn:hover i { color: #3b82f6 !important; }
.celta-sys-menu a { text-decoration: none !important; display: block !important; }
/* ================================================================= */
/* 3. TIPOGRAFIA, CABEÇALHO E UI GLOBAL (VERSÃO COMPACTA) */
/* ================================================================= */
/* Remoção de Itens Nativos */
#siteSub, .citizen-section-indicator { display: none !important; }
body:not(.page-Página_principal) .mw-page-title-main,
body:not(.page-Página_principal) h1#firstHeading { display: none !important; }
/* Cabeçalho Template */
.celta-page-header {
background: transparent !important; border: none !important;
border-bottom: 1px solid #e2e8f0 !important; padding: 0 0 15px 0 !important;
margin-bottom: 25px !important; box-shadow: none !important;
}
.celta-page-header.celta-header-clean { border-bottom: none !important; margin-bottom: 10px !important; }
.celta-breadcrumbs {
background: transparent !important; padding: 0 !important; font-size: 0.8em !important;
color: #64748b !important; text-transform: uppercase; font-weight: 600; margin-bottom: 5px !important;
}
.celta-main-title {
background: transparent !important; padding: 0 !important; margin: 0 !important;
font-size: 1.8em !important; font-weight: 800 !important; color: #0f172a !important;
line-height: 1.2 !important; border: none !important;
}
.celta-meta-info {
background: transparent !important; padding: 0 !important; margin-top: 5px !important;
font-size: 0.8em !important; color: #94a3b8 !important; border: none !important;
}
/* Modo Tela Cheia */
body:has(.celta-full-width) .citizen-col-toc { display: none !important; }
body:has(.celta-full-width) .citizen-col-content { grid-column: 1 / -1 !important; max-width: 100% !important; }
body:has(.celta-full-width) .celta-page-header { max-width: 1150px; margin: 0 auto 40px auto; }
body:has(.celta-full-width) .citizen-section-indicator { display: none !important; }
/* Tipografia Geral (H1, H2, H3) */
html body:not(.page-Página_principal) h1,
html body:not(.page-Página_principal) h2,
html body:not(.page-Página_principal) h3,
html body:not(.page-Página_principal) h4 {
font-family: 'Segoe UI', Roboto, sans-serif !important; color: #1e293b !important;
margin-top: 1.2em !important; margin-bottom: 0.6em !important; line-height: 1.2 !important;
}
html body:not(.page-Página_principal) h2,
html body:not(.page-Página_principal) .mw-heading2 {
font-size: 1.4em !important; font-weight: 700 !important;
border-bottom: 1px solid #e2e8f0 !important; border-left: none !important;
padding-bottom: 0.3em !important; padding-left: 0 !important; margin-top: 30px !important;
}
html body:not(.page-Página_principal) h3,
html body:not(.page-Página_principal) .mw-heading3 {
font-size: 1.15em !important; font-weight: 600 !important; color: #334155 !important;
border: none !important; padding-left: 0 !important; margin-top: 20px !important;
}
.mw-body-content p {
font-size: 1em !important; line-height: 1.5 !important; color: #475569 !important;
margin-bottom: 1em !important; max-width: 900px;
}
/* ================================================================= */
/* 4. RODAPÉ COMPACTO (SLIM) */
/* ================================================================= */
.citizen-footer {
padding: 4px 20px !important; margin-top: 30px !important; border-top: 1px solid #eaecf0; min-height: 0 !important;
}
.citizen-footer__content {
display: flex !important; flex-direction: row !important; align-items: center !important;
justify-content: space-between !important; gap: 10px !important; width: 100% !important;
}
#footer-info, #footer-info ul, #footer-info li { margin: 0 !important; padding: 0 !important; line-height: 1.1 !important; }
.citizen-footer__logo { margin: 0 !important; padding: 0 !important; order: 1; line-height: 0 !important; }
.citizen-footer .mw-logo-wordmark { display: none !important; }
.citizen-footer .mw-logo-icon { height: 32px !important; width: auto !important; display: block !important; }
#footer-info {
order: 2; text-align: center !important; flex-grow: 1; font-size: 0.85em !important; color: #666;
}
#footer-info li { display: inline-block !important; }
#footer-icons {
order: 3; margin: 0 !important; padding: 0 !important; display: flex !important; align-items: center !important;
}
#footer-icons img { height: 28px !important; width: auto !important; }
#footer-info-lastmod, .citizen-footer__lastmod { display: none !important; }
@media (max-width: 768px) {
.citizen-footer__content { flex-direction: column !important; gap: 8px !important; padding: 10px 0 !important; }
}
/* ================================================================= */
/* 📱 HERO SECTION RESPONSIVA (DESTAQUE HOME) */
/* ================================================================= */
.celta-hero-container {
display: grid;
grid-template-columns: 2fr 1fr; /* PC: 60% / 40% */
background: #fff;
border-radius: 16px;
border: 1px solid #e2e8f0;
overflow: hidden;
margin-bottom: 40px;
box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.celta-hero-left {
padding: 40px;
border-right: 1px solid #f1f5f9; /* Linha vertical no PC */
}
/* REGRAS PARA CELULAR (Telas menores que 900px) */
@media (max-width: 900px) {
.celta-hero-container {
grid-template-columns: 1fr !important; /* Vira 1 coluna única */
}
.celta-hero-left {
border-right: none !important; /* Remove linha vertical */
border-bottom: 1px solid #f1f5f9; /* Adiciona linha horizontal */
padding: 30px 20px !important; /* Ajusta espaçamento */
}
}
/* ================================================================= */
/* 📞 GRADE DE CONTATOS — LAYOUT PREMIUM (V3) */
/* ================================================================= */
.celta-contact-wrapper {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 28px;
margin-top: 32px;
padding: 5px;
}
/* ================================================================ */
/* 🎴 CARTÃO - DESIGN MODERNO, SUAVE E PROFISSIONAL */
/* ================================================================ */
.celta-contact-card {
background: #ffffff;
border: 1px solid #e5e7eb;
border-radius: 16px;
padding: 26px 28px;
display: flex;
align-items: center;
gap: 20px;
transition: all 0.25s ease;
box-shadow: 0 4px 12px rgba(0,0,0,0.03);
position: relative;
}
.celta-contact-card:hover {
border-color: #d0d7e6;
box-shadow: 0 12px 28px -6px rgba(0,0,0,0.12);
transform: translateY(-4px);
}
/* ================================================================ */
/* 🟦 ÍCONE — MENOR, MAIS SUTIL E MAIS ELEGANTE */
/* ================================================================ */
.celta-contact-icon {
width: 42px;
height: 42px;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.35em;
flex-shrink: 0;
font-weight: 500;
box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}
/* Paleta premium */
.bg-blue { background: #eef4ff; color: #1d4ed8; }
.bg-green { background: #e9fcee; color: #15803d; }
.bg-red { background: #fdecec; color: #dc2626; }
.bg-purple { background: #f3e8ff; color: #7c3aed; }
/* ================================================================ */
/* 🔤 TIPOGRAFIA – MAIS FORTE E MAIS EQUILIBRADA */
/* ================================================================ */
.celta-contact-info {
display: flex;
flex-direction: column;
justify-content: center;
}
.celta-contact-label {
font-size: 0.9em;
color: #6b7280;
font-weight: 500;
margin-bottom: 4px;
}
.celta-contact-value {
font-size: 1.15em;
font-weight: 800;
color: #0f172a;
line-height: 1.25;
letter-spacing: -0.015em;
transition: color 0.2s ease;
}
.celta-contact-card:hover .celta-contact-value {
color: #2563eb; /* Azul Celta */
}
/* Remove o ícone externo do MediaWiki */
.celta-contact-card a.external,
.celta-contact-card a.external:visited {
background-image: none !important;
padding-right: 0 !important;
color: inherit !important;
text-decoration: none !important;
}