Predefinição:Página principal/styles.css
De Dicionário Brasileiro de Linguagem Jurídica
/**
* DICIONÁRIO BRASILEIRO DE LINGUAGEM JURÍDICA
* Custom Styling for the "Citizen" MediaWiki Skin
* Layout A: Modern Premium Classic (Navy Blue & Gold)
* Sanitized and fully compatible with the MediaWiki CSS Validator
*/
/* ======================================================================
* 1. ESTILIZAÇÃO DO CABEÇALHO E NAVEGAÇÃO
* ====================================================================== */
/* Header e Barra de Navegação Superior */
.mw-header {
background-color: #0f172a !important;
color: #ffffff !important;
border-bottom: 2px solid #b08f5e !important;
box-shadow: 0 4px 20px rgba(15, 23, 42, 0.15) !important;
}
/* Título do Site e Logo Brand */
.mw-wiki-title, .skin-citizen-header-logo-label {
font-family: 'Cinzel', 'Georgia', serif !important;
font-weight: 600 !important;
font-size: 1.15rem !important;
letter-spacing: 1px !important;
color: #b08f5e !important;
}
/* Caixa de Busca com Efeito Glassmorphism */
.mw-header .search-box, .mw-header #searchform {
background: rgba(255, 255, 255, 0.08) !important;
border: 1px solid rgba(255, 255, 255, 0.15) !important;
border-radius: 8px !important;
transition: all 0.3s ease !important;
}
.mw-header .search-box:hover, .mw-header #searchform:hover {
background: rgba(255, 255, 255, 0.12) !important;
border-color: #b08f5e !important;
box-shadow: 0 0 10px rgba(176, 143, 94, 0.3) !important;
}
/* Menu Lateral (Sidebar) */
.citizen-sidebar {
font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
border-right: 1px solid rgba(176, 143, 94, 0.15) !important;
}
.citizen-sidebar .mw-portlet h3 {
font-family: 'Cinzel', 'Georgia', serif !important;
color: #b08f5e !important;
font-size: 0.85rem !important;
letter-spacing: 1px !important;
text-transform: uppercase !important;
border-bottom: 1px solid rgba(176, 143, 94, 0.2) !important;
padding-bottom: 4px !important;
margin-bottom: 10px !important;
}
/* ======================================================================
* 2. ESTILIZAÇÃO DO ARTIGO E ELEMENTOS EDITORIAIS
* ====================================================================== */
/* Container Principal do Conteúdo */
.mw-body, #content {
background-color: #ffffff !important;
border-radius: 12px !important;
box-shadow: 0 4px 30px rgba(15, 23, 42, 0.04) !important;
border: 1px solid rgba(176, 143, 94, 0.1) !important;
padding: 40px !important;
}
/* Modo Escuro para o Container Principal */
@media (prefers-color-scheme: dark) {
.mw-body, #content {
background-color: #0f172a !important;
border-color: rgba(212, 190, 149, 0.1) !important;
}
}
html.skin-theme-clientpref-dark .mw-body,
html.skin-theme-clientpref-dark #content {
background-color: #0f172a !important;
border-color: rgba(212, 190, 149, 0.1) !important;
}
/* Título Principal do Verbete (Heading) */
#firstHeading {
font-family: 'Lora', 'Georgia', 'Times New Roman', serif !important;
font-weight: 700 !important;
font-size: 2.5rem !important;
color: #0f172a !important;
letter-spacing: -0.5px !important;
padding-bottom: 15px !important;
border-bottom: 2px solid rgba(176, 143, 94, 0.25) !important;
margin-bottom: 25px !important;
position: relative !important;
}
#firstHeading::after {
content: '' !important;
position: absolute !important;
bottom: -2px !important;
left: 0 !important;
width: 80px !important;
height: 2px !important;
background-color: #b08f5e !important;
}
@media (prefers-color-scheme: dark) {
#firstHeading {
color: #f1f5f9 !important;
}
}
html.skin-theme-clientpref-dark #firstHeading {
color: #f1f5f9 !important;
}
/* Títulos das Seções Internas (H2) */
.mw-parser-output h2 {
font-family: 'Lora', 'Georgia', 'Times New Roman', serif !important;
font-weight: 600 !important;
color: #b08f5e !important;
border-bottom: none !important;
margin-top: 35px !important;
margin-bottom: 15px !important;
font-size: 1.6rem !important;
}
/* Subtítulos Internas (H3) */
.mw-parser-output h3 {
font-family: 'Lora', 'Georgia', 'Times New Roman', serif !important;
font-weight: 600 !important;
color: #0f172a !important;
margin-top: 25px !important;
font-size: 1.25rem !important;
}
@media (prefers-color-scheme: dark) {
.mw-parser-output h3 {
color: #f1f5f9 !important;
}
}
html.skin-theme-clientpref-dark .mw-parser-output h3 {
color: #f1f5f9 !important;
}
/* Parágrafos e Definições */
.mw-parser-output p, .mw-parser-output li {
font-family: 'Lora', 'Georgia', 'Times New Roman', serif !important;
font-size: 1.125rem !important;
line-height: 1.8 !important;
color: #334155 !important;
}
@media (prefers-color-scheme: dark) {
.mw-parser-output p, .mw-parser-output li {
color: #cbd5e1 !important;
}
}
html.skin-theme-clientpref-dark .mw-parser-output p,
html.skin-theme-clientpref-dark .mw-parser-output li {
color: #cbd5e1 !important;
}
/* ======================================================================
* 3. ELEMENTOS JURÍDICOS E LEGISLATIVOS ESPECÍFICOS
* ====================================================================== */
/* Marcadores / Etiquetas de Ramos (Ex: [Dir. Constitucional]) */
.jur-tag {
display: inline-block !important;
background-color: rgba(176, 143, 94, 0.08) !important;
border: 1px solid rgba(176, 143, 94, 0.25) !important;
color: #b08f5e !important;
font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
font-weight: 500 !important;
font-size: 0.8rem !important;
padding: 4px 10px !important;
border-radius: 6px !important;
margin-right: 8px !important;
margin-bottom: 8px !important;
text-transform: uppercase !important;
letter-spacing: 0.5px !important;
}
/* Guias de Pronúncia e Transcrição Fonética */
.jur-pronunciation {
font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
color: #64748b !important;
font-size: 0.95rem !important;
margin-left: 10px !important;
font-style: italic !important;
}
/* Citações Doutrinárias e de Ementas (Bloco de Citações) */
.jur-quote, blockquote {
background-color: rgba(176, 143, 94, 0.03) !important;
border-left: 4px solid #b08f5e !important;
padding: 20px 25px !important;
margin: 25px 0 !important;
border-radius: 0 8px 8px 0 !important;
font-style: italic !important;
}
.jur-quote p, blockquote p {
margin: 0 !important;
font-size: 1.1rem !important;
}
/* Listas Ordenadas das Acepções */
.mw-parser-output ol {
padding-left: 20px !important;
}
.mw-parser-output ol > li {
margin-bottom: 12px !important;
padding-left: 5px !important;
}
/* Tabelas Legislativas (Wikitable Clássica) */
.wikitable {
background-color: #ffffff !important;
border: 1px solid rgba(176, 143, 94, 0.2) !important;
border-collapse: collapse !important;
border-radius: 8px !important;
overflow: hidden !important;
}
@media (prefers-color-scheme: dark) {
.wikitable {
background-color: #0f172a !important;
border-color: rgba(212, 190, 149, 0.2) !important;
}
}
html.skin-theme-clientpref-dark .wikitable {
background-color: #0f172a !important;
border-color: rgba(212, 190, 149, 0.2) !important;
}
.wikitable th {
background-color: rgba(15, 23, 42, 0.9) !important;
color: #ffffff !important;
font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
font-weight: 600 !important;
padding: 12px 16px !important;
border: 1px solid rgba(176, 143, 94, 0.3) !important;
}
.wikitable td {
padding: 12px 16px !important;
border: 1px solid rgba(176, 143, 94, 0.15) !important;
font-size: 1rem !important;
}
.wikitable tr:nth-child(even) {
background-color: rgba(176, 143, 94, 0.02) !important;
}
/* ======================================================================
* 4. AJUSTES ESPECÍFICOS DO LOGOTIPO E PAGINA PRINCIPAL
* ====================================================================== */
/* Logotipo no Topo */
.skin-citizen-header-logo img {
height: 42px !important;
width: auto !important;
max-width: 100% !important;
transition: transform 0.3s ease !important;
}
.skin-citizen-header-logo:hover img {
transform: scale(1.06) !important;
}
/* Hero Section (Banner de Entrada) */
.home-hero {
text-align: center !important;
padding: 40px 20px 30px 20px !important;
margin-bottom: 40px !important;
background: linear-gradient(180deg, rgba(15, 23, 42, 0.03) 0%, rgba(255, 255, 255, 0) 100%) !important;
border-bottom: 1px solid rgba(176, 143, 94, 0.15) !important;
border-radius: 12px !important;
}
/* Título de Entrada */
.home-title {
font-family: 'Cinzel', 'Georgia', serif !important;
font-size: 2.2rem !important;
color: #0f172a !important;
margin-bottom: 10px !important;
font-weight: 700 !important;
letter-spacing: 0.5px !important;
}
@media (prefers-color-scheme: dark) {
.home-title { color: #ffffff !important; }
}
html.skin-theme-clientpref-dark .home-title { color: #ffffff !important; }
/* Subtítulo de Entrada */
.home-subtitle {
font-family: 'Lora', 'Georgia', 'Times New Roman', serif !important;
font-size: 1.25rem !important;
color: #64748b !important;
max-width: 700px !important;
margin: 0 auto 25px auto !important;
line-height: 1.6 !important;
font-style: italic !important;
}
/* Grade de Estatísticas */
.home-stats {
display: flex !important;
justify-content: center !important;
gap: 40px !important;
margin-top: 25px !important;
}
.home-stat-item {
font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
text-align: center !important;
}
.home-stat-number {
font-family: 'Cinzel', 'Georgia', serif !important;
font-size: 1.5rem !important;
font-weight: 700 !important;
color: #b08f5e !important;
display: block !important;
}
@media (prefers-color-scheme: dark) {
.home-stat-number {
color: #d4be95 !important;
}
}
html.skin-theme-clientpref-dark .home-stat-number {
color: #d4be95 !important;
}
.home-stat-label {
font-size: 0.85rem !important;
color: #64748b !important;
text-transform: uppercase !important;
letter-spacing: 1px !important;
}
/* Grade de Navegação Alfabética (Índice A-Z) */
.alphabet-nav {
display: flex !important;
flex-wrap: wrap !important;
justify-content: center !important;
gap: 8px !important;
margin: 30px auto !important;
max-width: 900px !important;
}
.letter-btn {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
width: 36px !important;
height: 36px !important;
background-color: #ffffff !important;
border: 1px solid rgba(176, 143, 94, 0.25) !important;
border-radius: 6px !important;
font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
font-weight: 600 !important;
font-size: 0.95rem !important;
color: #0f172a !important;
text-decoration: none !important;
transition: all 0.2s ease !important;
}
.letter-btn:hover {
background-color: #b08f5e !important;
color: #ffffff !important;
border-color: #b08f5e !important;
transform: translateY(-2px) !important;
box-shadow: 0 4px 8px rgba(176, 143, 94, 0.2) !important;
}
@media (prefers-color-scheme: dark) {
.letter-btn {
background-color: #0f172a !important;
border-color: rgba(212, 190, 149, 0.2) !important;
color: #f1f5f9 !important;
}
.letter-btn:hover {
background-color: #d4be95 !important;
border-color: #d4be95 !important;
color: #0f172a !important;
}
}
html.skin-theme-clientpref-dark .letter-btn {
background-color: #0f172a !important;
border-color: rgba(212, 190, 149, 0.2) !important;
color: #f1f5f9 !important;
}
html.skin-theme-clientpref-dark .letter-btn:hover {
background-color: #d4be95 !important;
border-color: #d4be95 !important;
color: #0f172a !important;
}
/* Layout de Cards Bento Grid */
.bento-grid {
display: grid !important;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
gap: 25px !important;
margin-top: 40px !important;
margin-bottom: 40px !important;
}
/* Cards Individuais do Bento Grid */
.bento-card {
background-color: #ffffff !important;
border: 1px solid rgba(176, 143, 94, 0.15) !important;
border-radius: 10px !important;
padding: 25px !important;
transition: all 0.3s ease !important;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01) !important;
position: relative !important;
overflow: hidden !important;
}
.bento-card::before {
content: '' !important;
position: absolute !important;
top: 0 !important;
left: 0 !important;
width: 100% !important;
height: 4px !important;
background-color: #b08f5e !important;
}
.bento-card:hover {
transform: translateY(-4px) !important;
box-shadow: 0 10px 25px rgba(176, 143, 94, 0.08) !important;
border-color: #b08f5e !important;
}
@media (prefers-color-scheme: dark) {
.bento-card {
background-color: #0f172a !important;
border-color: rgba(212, 190, 149, 0.1) !important;
}
.bento-card::before {
background-color: #d4be95 !important;
}
.bento-card:hover {
border-color: #d4be95 !important;
box-shadow: 0 10px 25px rgba(212, 190, 149, 0.08) !important;
}
}
html.skin-theme-clientpref-dark .bento-card {
background-color: #0f172a !important;
border-color: rgba(212, 190, 149, 0.1) !important;
}
html.skin-theme-clientpref-dark .bento-card::before {
background-color: #d4be95 !important;
}
html.skin-theme-clientpref-dark .bento-card:hover {
border-color: #d4be95 !important;
box-shadow: 0 10px 25px rgba(212, 190, 149, 0.08) !important;
}
.bento-card h3 {
font-family: 'Cinzel', 'Georgia', serif !important;
color: #b08f5e !important;
font-size: 1.15rem !important;
margin-top: 0 !important;
margin-bottom: 15px !important;
display: flex !important;
align-items: center !important;
gap: 8px !important;
font-weight: 700 !important;
border-bottom: 1px solid rgba(176, 143, 94, 0.15) !important;
padding-bottom: 8px !important;
}
@media (prefers-color-scheme: dark) {
.bento-card h3 {
color: #d4be95 !important;
border-bottom-color: rgba(212, 190, 149, 0.15) !important;
}
}
html.skin-theme-clientpref-dark .bento-card h3 {
color: #d4be95 !important;
border-bottom-color: rgba(212, 190, 149, 0.15) !important;
}
/* Card Destacado do Termo do Dia */
.termo-dia-container {
grid-column: 1 / -1 !important;
background: linear-gradient(135deg, rgba(176, 143, 94, 0.04) 0%, rgba(255, 255, 255, 1) 100%) !important;
border: 1.5px solid #b08f5e !important;
border-radius: 12px !important;
padding: 30px !important;
margin-bottom: 30px !important;
position: relative !important;
overflow: hidden !important;
}
.termo-dia-container::before {
content: 'DESTAQUE' !important;
position: absolute !important;
top: 15px !important;
right: -30px !important;
background-color: #b08f5e !important;
color: #ffffff !important;
font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
font-size: 0.7rem !important;
font-weight: 700 !important;
padding: 4px 30px !important;
transform: rotate(45deg) !important;
letter-spacing: 1px !important;
}
@media (prefers-color-scheme: dark) {
.termo-dia-container {
background: linear-gradient(135deg, rgba(212, 190, 149, 0.05) 0%, rgba(15, 23, 42, 1) 100%) !important;
border-color: #d4be95 !important;
}
.termo-dia-container::before {
background-color: #d4be95 !important;
color: #0f172a !important;
}
}
html.skin-theme-clientpref-dark .termo-dia-container {
background: linear-gradient(135deg, rgba(212, 190, 149, 0.05) 0%, rgba(15, 23, 42, 1) 100%) !important;
border-color: #d4be95 !important;
}
html.skin-theme-clientpref-dark .termo-dia-container::before {
background-color: #d4be95 !important;
color: #0f172a !important;
}
.termo-dia-title {
font-family: 'Lora', 'Georgia', 'Times New Roman', serif !important;
font-size: 1.8rem !important;
font-weight: 700 !important;
margin: 10px 0 !important;
}
.termo-dia-title a {
color: #0f172a !important;
text-decoration: none !important;
}
.termo-dia-title a:hover {
color: #b08f5e !important;
}
@media (prefers-color-scheme: dark) {
.termo-dia-title a { color: #ffffff !important; }
.termo-dia-title a:hover { color: #d4be95 !important; }
}
html.skin-theme-clientpref-dark .termo-dia-title a { color: #ffffff !important; }
html.skin-theme-clientpref-dark .termo-dia-title a:hover { color: #d4be95 !important; }
/* Listas de Links e Textos nos Cards */
.home-link-list {
list-style: none !important;
padding: 0 !important;
margin: 0 !important;
}
.home-link-list li {
margin-bottom: 8px !important;
font-size: 0.95rem !important;
font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}
.home-link-list a {
text-decoration: none !important;
color: #475569 !important;
transition: color 0.2s ease !important;
}
.home-link-list a:hover {
color: #b08f5e !important;
}
@media (prefers-color-scheme: dark) {
.home-link-list a { color: #cbd5e1 !important; }
.home-link-list a:hover { color: #d4be95 !important; }
}
html.skin-theme-clientpref-dark .home-link-list a { color: #cbd5e1 !important; }
html.skin-theme-clientpref-dark .home-link-list a:hover { color: #d4be95 !important; }