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 FRAMEWORK - COMPONENTES | /* 🧩 CELTA WIKI FRAMEWORK - COMPONENTES (VERSÃO COMPACTA) */ | ||
/* ================================================================= */ | /* ================================================================= */ | ||
/* --- 1. CAIXAS DE NOTA (TEMPLATE:NOTA) --- */ | /* --- 1. CAIXAS DE NOTA (TEMPLATE:NOTA) --- */ | ||
.celta-box { | .celta-box { | ||
padding: 15px 20px | padding: 12px 16px; /* REDUZIDO: Era 15px 20px */ | ||
margin: | margin: 16px 0; /* REDUZIDO: Era 20px */ | ||
border-radius: 6px; | border-radius: 6px; | ||
border-left: | border-left: 4px solid #ccc; /* REDUZIDO: Borda ligeiramente mais fina */ | ||
background-color: #f9f9f9; | background-color: #f9f9f9; | ||
font-size: 0.95em; | font-size: 0.95em; | ||
| Linha 15: | Linha 15: | ||
.celta-box-title { | .celta-box-title { | ||
font-weight: 700; | font-weight: 700; | ||
margin-bottom: | margin-bottom: 4px; | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
| Linha 39: | Linha 39: | ||
overflow: hidden; | overflow: hidden; | ||
box-shadow: 0 0 0 1px #e0e0e0; | box-shadow: 0 0 0 1px #e0e0e0; | ||
margin-top: | margin-top: 10px; /* REDUZIDO */ | ||
margin-bottom: | margin-bottom: 20px; /* REDUZIDO */ | ||
} | } | ||
.celta-table th { | .celta-table th { | ||
background-color: #2c3e50; | background-color: #2c3e50; | ||
color: white; | color: white; | ||
padding: 12px; | padding: 10px 12px; /* REDUZIDO: Padding vertical menor */ | ||
text-align: left; | text-align: left; | ||
font-weight: 600; | font-weight: 600; | ||
font-size: 0.95em; /* REDUZIDO */ | |||
} | } | ||
.celta-table td { | .celta-table td { | ||
padding: 12px; | padding: 10px 12px; /* REDUZIDO: Padding vertical menor */ | ||
border-bottom: 1px solid #eee; | border-bottom: 1px solid #eee; | ||
vertical-align: top; | vertical-align: top; | ||
font-size: 0.95em; /* REDUZIDO: Texto da tabela ligeiramente menor */ | |||
} | } | ||
.celta-table tr:last-child td { border-bottom: none; } | .celta-table tr:last-child td { border-bottom: none; } | ||
.celta-col-key { background-color: #f8f9fa; font-weight: 600; color: #2c3e50; width: 30%; } | .celta-col-key { background-color: #f8f9fa; font-weight: 600; color: #2c3e50; width: 30%; } | ||
.celta-col-value { width: 70%; } | .celta-col-value { width: 70%; } | ||
.celta-table ul { margin: 4px 0 !important; padding-left: 18px !important; } | |||
.celta-table ul { margin: | .celta-table li { margin-bottom: 1px !important; } | ||
.celta-table li { margin-bottom: | |||
/* --- 3. GRIDS E CARDS (PARA MENUS) --- */ | /* --- 3. GRIDS E CARDS (PARA MENUS) --- */ | ||
.celta-grid { | .celta-grid { | ||
display: grid; | display: grid; | ||
grid-template-columns: repeat(auto-fit, minmax( | grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* REDUZIDO: Largura mínima menor */ | ||
gap: 20px | gap: 16px; /* REDUZIDO: Era 20px */ | ||
margin: | margin: 16px 0; /* REDUZIDO: Era 20px */ | ||
width: 100%; | width: 100%; | ||
} | } | ||
| Linha 73: | Linha 74: | ||
border-radius: 8px; | border-radius: 8px; | ||
background: #fff; | background: #fff; | ||
padding: 20px | padding: 16px; /* REDUZIDO: Era 20px */ | ||
transition: transform 0.2s, box-shadow 0.2s; | transition: transform 0.2s, box-shadow 0.2s; | ||
display: flex; | display: flex; | ||
| Linha 81: | Linha 82: | ||
} | } | ||
.celta-card:hover { | .celta-card:hover { | ||
transform: translateY(- | transform: translateY(-2px); | ||
box-shadow: 0 | box-shadow: 0 8px 16px rgba(0,0,0,0.05); | ||
border-color: #3498db; | border-color: #3498db; | ||
} | } | ||
| Linha 88: | Linha 89: | ||
font-weight: 700; | font-weight: 700; | ||
color: #2c3e50; | color: #2c3e50; | ||
margin-bottom: | margin-bottom: 12px; /* REDUZIDO */ | ||
border-bottom: 1px solid #f0f0f0; | border-bottom: 1px solid #f0f0f0; | ||
padding-bottom: | padding-bottom: 8px; /* REDUZIDO */ | ||
font-size: 1.1em | font-size: 1.05em; /* REDUZIDO: Era 1.1em */ | ||
} | } | ||
.celta-card-body { font-size: 0.95em; color: #666; line-height: 1. | .celta-card-body { font-size: 0.95em; color: #666; line-height: 1.4; } | ||
.celta-card pre { | .celta-card pre { | ||
white-space: pre-wrap; word-wrap: break-word; background: #f8f9fa; | white-space: pre-wrap; word-wrap: break-word; background: #f8f9fa; | ||
border: none; padding: | border: none; padding: 8px; border-radius: 4px; font-size: 0.85em; | ||
} | } | ||
/* --- 4. ESTILOS DO TEMPLATE DE CABEÇALHO --- */ | /* --- 4. ESTILOS DO TEMPLATE DE CABEÇALHO (VERSÃO COMPACTA) --- */ | ||
.celta-page-header { | .celta-page-header { | ||
margin-bottom: 40px | margin-bottom: 25px; /* DRASTICAMENTE REDUZIDO: Era 40px */ | ||
padding-bottom: 20px | padding-bottom: 15px; /* REDUZIDO: Era 20px */ | ||
border-bottom: 1px solid #e2e8f0; | border-bottom: 1px solid #e2e8f0; | ||
} | } | ||
.celta-breadcrumbs { | .celta-breadcrumbs { | ||
font-size: 0. | font-size: 0.8em; /* REDUZIDO */ | ||
color: #64748b; | color: #64748b; | ||
margin-bottom: | margin-bottom: 5px; /* REDUZIDO */ | ||
text-transform: uppercase; | text-transform: uppercase; | ||
letter-spacing: 0.5px; | letter-spacing: 0.5px; | ||
| Linha 116: | Linha 117: | ||
.celta-breadcrumbs a:hover { color: #3498db !important; } | .celta-breadcrumbs a:hover { color: #3498db !important; } | ||
.celta-main-title { | .celta-main-title { | ||
font-size: 2.2em | font-size: 1.8em; /* DRASTICAMENTE REDUZIDO: Era 2.2em */ | ||
margin: 0; padding: 0; letter-spacing: - | font-weight: 800; color: #0f172a; | ||
margin: 0; padding: 0; letter-spacing: -0.5px; line-height: 1.1; | |||
} | } | ||
.celta-meta-info { | .celta-meta-info { | ||
margin-top: | margin-top: 5px; /* REDUZIDO */ | ||
font-size: 0.8em; /* REDUZIDO */ | |||
color: #94a3b8; | |||
display: flex; align-items: center; gap: 6px; | display: flex; align-items: center; gap: 6px; | ||
} | } | ||
Edição das 06h45min de 29 de novembro de 2025
/* ================================================================= */
/* 🧩 CELTA WIKI FRAMEWORK - COMPONENTES (VERSÃO COMPACTA) */
/* ================================================================= */
/* --- 1. CAIXAS DE NOTA (TEMPLATE:NOTA) --- */
.celta-box {
padding: 12px 16px; /* REDUZIDO: Era 15px 20px */
margin: 16px 0; /* REDUZIDO: Era 20px */
border-radius: 6px;
border-left: 4px solid #ccc; /* REDUZIDO: Borda ligeiramente mais fina */
background-color: #f9f9f9;
font-size: 0.95em;
}
.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; }
/* --- 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: 10px; /* REDUZIDO */
margin-bottom: 20px; /* REDUZIDO */
}
.celta-table th {
background-color: #2c3e50;
color: white;
padding: 10px 12px; /* REDUZIDO: Padding vertical menor */
text-align: left;
font-weight: 600;
font-size: 0.95em; /* REDUZIDO */
}
.celta-table td {
padding: 10px 12px; /* REDUZIDO: Padding vertical menor */
border-bottom: 1px solid #eee;
vertical-align: top;
font-size: 0.95em; /* REDUZIDO: Texto da tabela ligeiramente menor */
}
.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: 4px 0 !important; padding-left: 18px !important; }
.celta-table li { margin-bottom: 1px !important; }
/* --- 3. GRIDS E CARDS (PARA MENUS) --- */
.celta-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* REDUZIDO: Largura mínima menor */
gap: 16px; /* REDUZIDO: Era 20px */
margin: 16px 0; /* REDUZIDO: Era 20px */
width: 100%;
}
.celta-card {
border: 1px solid #e0e0e0;
border-radius: 8px;
background: #fff;
padding: 16px; /* REDUZIDO: Era 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(-2px);
box-shadow: 0 8px 16px rgba(0,0,0,0.05);
border-color: #3498db;
}
.celta-card-header {
font-weight: 700;
color: #2c3e50;
margin-bottom: 12px; /* REDUZIDO */
border-bottom: 1px solid #f0f0f0;
padding-bottom: 8px; /* REDUZIDO */
font-size: 1.05em; /* REDUZIDO: Era 1.1em */
}
.celta-card-body { font-size: 0.95em; color: #666; line-height: 1.4; }
.celta-card pre {
white-space: pre-wrap; word-wrap: break-word; background: #f8f9fa;
border: none; padding: 8px; border-radius: 4px; font-size: 0.85em;
}
/* --- 4. ESTILOS DO TEMPLATE DE CABEÇALHO (VERSÃO COMPACTA) --- */
.celta-page-header {
margin-bottom: 25px; /* DRASTICAMENTE REDUZIDO: Era 40px */
padding-bottom: 15px; /* REDUZIDO: Era 20px */
border-bottom: 1px solid #e2e8f0;
}
.celta-breadcrumbs {
font-size: 0.8em; /* REDUZIDO */
color: #64748b;
margin-bottom: 5px; /* REDUZIDO */
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: 1.8em; /* DRASTICAMENTE REDUZIDO: Era 2.2em */
font-weight: 800; color: #0f172a;
margin: 0; padding: 0; letter-spacing: -0.5px; line-height: 1.1;
}
.celta-meta-info {
margin-top: 5px; /* REDUZIDO */
font-size: 0.8em; /* REDUZIDO */
color: #94a3b8;
display: flex; align-items: center; gap: 6px;
}