MediaWiki:Common.css: mudanças entre as edições
Página de Interface do MediaWiki
Mais ações
Sem resumo de edição |
Sem resumo de edição |
||
| Linha 1: | Linha 1: | ||
/* ================================================================= */ | /* ================================================================= */ | ||
/* 🧩 CELTA WIKI | /* 🧩 CELTA WIKI FRAMEWORK - COMPONENTES REUTILIZÁVEIS */ | ||
/* ================================================================= */ | /* ================================================================= */ | ||
/* --- 1. CAIXAS DE NOTA (TEMPLATE:NOTA) --- */ | |||
/* --- CAIXAS DE NOTA ( | |||
.celta-box { | .celta-box { | ||
padding: 15px 20px; | padding: 15px 20px; | ||
| Linha 37: | Linha 32: | ||
.celta-danger .celta-box-title { color: #dc3545; } | .celta-danger .celta-box-title { color: #dc3545; } | ||
/* --- TABELAS | /* --- 2. TABELAS DE DADOS (TEMPLATE:TABELACAMPOS) --- */ | ||
.celta-table { | .celta-table { | ||
width: 100%; | width: 100%; | ||
| Linha 66: | Linha 61: | ||
.celta-table li { margin-bottom: 2px !important; } | .celta-table li { margin-bottom: 2px !important; } | ||
/* --- | /* --- 3. GRIDS E CARDS (PARA MENUS) --- */ | ||
.celta-grid { | .celta-grid { | ||
display: grid; | display: grid; | ||
| Linha 104: | Linha 99: | ||
} | } | ||
/* | /* --- 4. ESTILOS DO TEMPLATE DE CABEÇALHO --- */ | ||
.celta-page-header { | .celta-page-header { | ||
margin-bottom: 40px; | margin-bottom: 40px; | ||
| Linha 175: | Linha 122: | ||
margin-top: 10px; font-size: 0.85em; color: #94a3b8; | margin-top: 10px; font-size: 0.85em; color: #94a3b8; | ||
display: flex; align-items: center; gap: 6px; | display: flex; align-items: center; gap: 6px; | ||
} | } | ||
Edição das 06h43min de 29 de novembro de 2025
/* ================================================================= */
/* 🧩 CELTA WIKI FRAMEWORK - COMPONENTES REUTILIZÁVEIS */
/* ================================================================= */
/* --- 1. CAIXAS DE NOTA (TEMPLATE:NOTA) --- */
.celta-box {
padding: 15px 20px;
margin: 20px 0;
border-radius: 6px;
border-left: 5px solid #ccc;
background-color: #f9f9f9;
font-size: 0.95em;
}
.celta-box-title {
font-weight: 700;
margin-bottom: 5px;
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; }
/* --- 2. TABELAS DE DADOS (TEMPLATE:TABELACAMPOS) --- */
.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;
}
.celta-table th {
background-color: #2c3e50;
color: white;
padding: 12px;
text-align: left;
font-weight: 600;
}
.celta-table td {
padding: 12px;
border-bottom: 1px solid #eee;
vertical-align: top;
}
.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%; }
/* Ajuste de listas dentro da tabela */
.celta-table ul { margin: 5px 0 !important; padding-left: 20px !important; }
.celta-table li { margin-bottom: 2px !important; }
/* --- 3. GRIDS E CARDS (PARA MENUS) --- */
.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 #e0e0e0;
border-radius: 8px;
background: #fff;
padding: 20px;
transition: transform 0.2s, box-shadow 0.2s;
display: flex;
flex-direction: column;
overflow: hidden;
box-sizing: border-box;
}
.celta-card:hover {
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(0,0,0,0.05);
border-color: #3498db;
}
.celta-card-header {
font-weight: 700;
color: #2c3e50;
margin-bottom: 15px;
border-bottom: 1px solid #f0f0f0;
padding-bottom: 10px;
font-size: 1.1em;
}
.celta-card-body { font-size: 0.95em; color: #666; line-height: 1.5; }
.celta-card pre {
white-space: pre-wrap; word-wrap: break-word; background: #f8f9fa;
border: none; padding: 10px; border-radius: 4px; font-size: 0.85em;
}
/* --- 4. ESTILOS DO TEMPLATE DE CABEÇALHO --- */
.celta-page-header {
margin-bottom: 40px;
padding-bottom: 20px;
border-bottom: 1px solid #e2e8f0;
}
.celta-breadcrumbs {
font-size: 0.85em;
color: #64748b;
margin-bottom: 10px;
text-transform: uppercase;
letter-spacing: 0.5px;
font-weight: 600;
}
.celta-breadcrumbs a { color: #64748b !important; text-decoration: none; transition: color 0.2s; }
.celta-breadcrumbs a:hover { color: #3498db !important; }
.celta-main-title {
font-size: 2.2em; font-weight: 800; color: #0f172a;
margin: 0; padding: 0; letter-spacing: -1px; line-height: 1.1;
}
.celta-meta-info {
margin-top: 10px; font-size: 0.85em; color: #94a3b8;
display: flex; align-items: center; gap: 6px;
}