2354
This commit is contained in:
@@ -0,0 +1,569 @@
|
||||
/*
|
||||
ONAPB — "Constructivismo de Cancha"
|
||||
Design System v2.0 — 2026
|
||||
─────────────────────────────────────
|
||||
Display: Antonio (condensed, impactful)
|
||||
Body: DM Sans (warm, clean, modern)
|
||||
*/
|
||||
|
||||
@import url('https://fonts.googleapis.com/css2?family=Antonio:wght@400;500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');
|
||||
|
||||
/* ══════════════════════════════
|
||||
TOKENS
|
||||
══════════════════════════════ */
|
||||
:root {
|
||||
/* Superficies — base cálida */
|
||||
--surface: #f5f3ef;
|
||||
--surface-bright: #faf9f6;
|
||||
--surface-container-low: #ede9e2;
|
||||
--surface-container: #e5e1d9;
|
||||
--surface-container-high: #dbd5cc;
|
||||
--surface-container-lowest: #ffffff;
|
||||
--surface-dim: #c9c3b9;
|
||||
|
||||
/* Oscuro */
|
||||
--arena-dark: #111111;
|
||||
--arena-dark-surface: #1a1a18;
|
||||
--arena-mid: #2c2c2a;
|
||||
|
||||
/* Primario — rojo carmesí */
|
||||
--primary: #c20000;
|
||||
--primary-deep: #8a0000;
|
||||
--primary-container: #c20000;
|
||||
--on-primary: #ffffff;
|
||||
--on-primary-container: #ffe4e1;
|
||||
|
||||
/* Alias legacy (vistas antiguas) */
|
||||
--primary-color: #c20000;
|
||||
--primary-dark: #8a0000;
|
||||
--bg-color: #f5f3ef;
|
||||
--card-bg: #ffffff;
|
||||
|
||||
/* Texto */
|
||||
--on-surface: #1a1208;
|
||||
--on-surface-variant: #524840;
|
||||
--on-surface-muted: #7a6e65;
|
||||
--text-dark: #1a1208;
|
||||
--text-muted: #7a6e65;
|
||||
|
||||
/* Bordes */
|
||||
--outline: #9e8f85;
|
||||
--outline-variant: rgba(158, 143, 133, 0.18);
|
||||
|
||||
/* Tipografía */
|
||||
--font-display: 'Antonio', sans-serif;
|
||||
--font-body: 'DM Sans', sans-serif;
|
||||
|
||||
/* Espaciado */
|
||||
--spacing-1: 0.25rem;
|
||||
--spacing-2: 0.5rem;
|
||||
--spacing-3: 0.75rem;
|
||||
--spacing-4: 1rem;
|
||||
--spacing-6: 1.5rem;
|
||||
--spacing-8: 2rem;
|
||||
--spacing-12: 3rem;
|
||||
--spacing-16: 4rem;
|
||||
|
||||
/* Radio — editorial, cuadrado */
|
||||
--radius-sm: 2px;
|
||||
--radius: 4px;
|
||||
--radius-lg: 8px;
|
||||
|
||||
/* Sombras */
|
||||
--shadow-sm: 0 2px 8px rgba(26, 18, 8, 0.07);
|
||||
--shadow-lg: 0 8px 32px rgba(26, 18, 8, 0.12);
|
||||
|
||||
/* Gradients */
|
||||
--gradient-primary: linear-gradient(135deg, #c20000, #8a0000);
|
||||
}
|
||||
|
||||
/* ══════════════════════════════
|
||||
BASE
|
||||
══════════════════════════════ */
|
||||
*, *::before, *::after { box-sizing: border-box; }
|
||||
|
||||
html { scroll-behavior: smooth; }
|
||||
|
||||
body {
|
||||
background-color: var(--surface) !important;
|
||||
color: var(--on-surface) !important;
|
||||
font-family: var(--font-body) !important;
|
||||
font-size: 16px;
|
||||
line-height: 1.65;
|
||||
margin: 0;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
img, video, canvas, svg { max-width: 100%; height: auto; }
|
||||
|
||||
/* ══════════════════════════════
|
||||
GRANO DE TEXTURA
|
||||
══════════════════════════════ */
|
||||
body::after {
|
||||
content: '';
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
|
||||
background-size: 250px 250px;
|
||||
pointer-events: none;
|
||||
z-index: 9998;
|
||||
mix-blend-mode: multiply;
|
||||
}
|
||||
|
||||
/* ══════════════════════════════
|
||||
TIPOGRAFÍA
|
||||
══════════════════════════════ */
|
||||
h1, h2, h3, h4, h5, h6,
|
||||
.display-1, .display-2, .display-3,
|
||||
.display-4, .display-5, .display-6,
|
||||
.navbar-brand, .hero-title {
|
||||
font-family: var(--font-display) !important;
|
||||
font-weight: 700 !important;
|
||||
letter-spacing: 0.03em !important;
|
||||
text-transform: uppercase;
|
||||
line-height: 0.93 !important;
|
||||
color: var(--on-surface);
|
||||
}
|
||||
|
||||
p, td, li, .form-control, .form-label,
|
||||
.nav-link, .dropdown-item, .btn,
|
||||
body, small {
|
||||
font-family: var(--font-body) !important;
|
||||
}
|
||||
|
||||
.card-title {
|
||||
font-family: var(--font-display) !important;
|
||||
}
|
||||
|
||||
/* ══════════════════════════════
|
||||
NAVBAR
|
||||
══════════════════════════════ */
|
||||
.custom-navbar {
|
||||
background-color: rgba(245, 243, 239, 0.93) !important;
|
||||
backdrop-filter: blur(20px) saturate(180%);
|
||||
-webkit-backdrop-filter: blur(20px) saturate(180%);
|
||||
border-bottom: 1px solid var(--outline-variant) !important;
|
||||
padding: 10px 0;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1030;
|
||||
box-shadow: none !important;
|
||||
transition: background 0.3s;
|
||||
}
|
||||
|
||||
.custom-navbar .navbar-logo {
|
||||
height: 36px;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.custom-navbar .navbar-brand {
|
||||
font-family: var(--font-display) !important;
|
||||
letter-spacing: 0.1em;
|
||||
color: var(--primary) !important;
|
||||
font-size: 1.5rem;
|
||||
font-weight: 700;
|
||||
transition: opacity 0.2s;
|
||||
}
|
||||
.custom-navbar .navbar-brand:hover { opacity: 0.8; }
|
||||
|
||||
/* Remove old underline effect */
|
||||
.custom-navbar .nav-link::after { display: none !important; }
|
||||
|
||||
.custom-navbar .nav-link {
|
||||
font-family: var(--font-body) !important;
|
||||
font-weight: 600 !important;
|
||||
font-size: 0.8rem !important;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.1em;
|
||||
color: var(--on-surface) !important;
|
||||
padding: 6px 14px !important;
|
||||
border-radius: var(--radius-sm);
|
||||
transition: color 0.2s, background 0.2s;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.custom-navbar .nav-link:hover,
|
||||
.custom-navbar .nav-link.active {
|
||||
color: var(--primary) !important;
|
||||
background: rgba(194, 0, 0, 0.06) !important;
|
||||
}
|
||||
|
||||
.navbar-toggler {
|
||||
border: 1px solid var(--outline-variant);
|
||||
border-radius: var(--radius-sm);
|
||||
padding: 6px 10px;
|
||||
}
|
||||
.navbar-toggler:focus { box-shadow: none; }
|
||||
|
||||
/* ══════════════════════════════
|
||||
DROPDOWN
|
||||
══════════════════════════════ */
|
||||
.dropdown-menu {
|
||||
background: var(--surface-container-lowest);
|
||||
border: 1px solid var(--outline-variant);
|
||||
border-radius: var(--radius);
|
||||
box-shadow: var(--shadow-lg);
|
||||
padding: 6px;
|
||||
animation: menuIn 0.18s ease;
|
||||
min-width: 200px;
|
||||
}
|
||||
|
||||
@keyframes menuIn {
|
||||
from { opacity: 0; transform: translateY(-6px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
|
||||
.dropdown-item {
|
||||
font-family: var(--font-body) !important;
|
||||
font-size: 0.875rem;
|
||||
border-radius: var(--radius-sm);
|
||||
padding: 8px 14px;
|
||||
color: var(--on-surface);
|
||||
transition: background 0.15s, color 0.15s;
|
||||
}
|
||||
.dropdown-item:hover,
|
||||
.dropdown-item:focus {
|
||||
background: var(--surface-container);
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
.dropdown-divider { border-color: var(--outline-variant); }
|
||||
.dropdown-header {
|
||||
font-family: var(--font-body) !important;
|
||||
font-size: 0.7rem;
|
||||
letter-spacing: 0.12em;
|
||||
color: var(--on-surface-muted);
|
||||
padding: 6px 14px;
|
||||
}
|
||||
|
||||
/* ══════════════════════════════
|
||||
CARDS
|
||||
══════════════════════════════ */
|
||||
.kinetic-card {
|
||||
background-color: var(--surface-container-lowest);
|
||||
border-radius: var(--radius);
|
||||
border: 1px solid var(--outline-variant);
|
||||
transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
|
||||
}
|
||||
|
||||
.kinetic-card:hover {
|
||||
transform: translateY(-4px);
|
||||
box-shadow: var(--shadow-lg);
|
||||
border-color: rgba(194, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
/* ══════════════════════════════
|
||||
BOTONES
|
||||
══════════════════════════════ */
|
||||
.btn-kinetic-primary {
|
||||
background-color: var(--primary) !important;
|
||||
color: white !important;
|
||||
border: none !important;
|
||||
border-radius: 0 !important;
|
||||
padding: var(--spacing-3) var(--spacing-8) !important;
|
||||
font-family: var(--font-display) !important;
|
||||
font-weight: 700;
|
||||
font-size: 1rem;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s, transform 0.18s;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.btn-kinetic-primary:hover {
|
||||
background-color: var(--primary-deep) !important;
|
||||
color: white !important;
|
||||
transform: translateY(-1px);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.btn-kinetic-primary:active {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
/* ══════════════════════════════
|
||||
HERO
|
||||
══════════════════════════════ */
|
||||
.hero-title {
|
||||
font-family: var(--font-display) !important;
|
||||
font-size: clamp(3.5rem, 11vw, 8rem);
|
||||
line-height: 0.88 !important;
|
||||
letter-spacing: 0.02em !important;
|
||||
text-transform: uppercase;
|
||||
font-weight: 700 !important;
|
||||
margin-bottom: var(--spacing-4);
|
||||
}
|
||||
|
||||
.hero-caption {
|
||||
background: transparent !important;
|
||||
backdrop-filter: none !important;
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
/* Clip-path diagonal en imagen hero */
|
||||
.hero-clip {
|
||||
clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%);
|
||||
}
|
||||
|
||||
/* ══════════════════════════════
|
||||
BADGES / TAGS
|
||||
══════════════════════════════ */
|
||||
.kinetic-tag-live {
|
||||
background-color: var(--primary);
|
||||
color: white;
|
||||
padding: 3px 10px;
|
||||
border-radius: 0;
|
||||
font-size: 0.7rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.1em;
|
||||
font-family: var(--font-body) !important;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.kinetic-tag-live::before {
|
||||
content: '';
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
background: white;
|
||||
border-radius: 50%;
|
||||
flex-shrink: 0;
|
||||
animation: livePulse 1.3s infinite;
|
||||
}
|
||||
|
||||
@keyframes livePulse {
|
||||
0%, 100% { opacity: 1; transform: scale(1); }
|
||||
50% { opacity: 0.3; transform: scale(0.65); }
|
||||
}
|
||||
|
||||
/* Bootstrap badge override */
|
||||
.badge {
|
||||
border-radius: var(--radius-sm) !important;
|
||||
font-family: var(--font-body) !important;
|
||||
font-weight: 600 !important;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
/* ══════════════════════════════
|
||||
ETIQUETAS DE SECCIÓN
|
||||
══════════════════════════════ */
|
||||
.section-label {
|
||||
font-family: var(--font-body) !important;
|
||||
font-size: 0.7rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.2em;
|
||||
text-transform: uppercase;
|
||||
color: var(--primary);
|
||||
display: block;
|
||||
margin-bottom: var(--spacing-2);
|
||||
}
|
||||
|
||||
/* Acento izquierdo para secciones */
|
||||
.accent-left {
|
||||
border-left: 5px solid var(--primary);
|
||||
padding-left: var(--spacing-4);
|
||||
}
|
||||
|
||||
/* ══════════════════════════════
|
||||
LÍNEA DIVISORIA CON ACENTO
|
||||
══════════════════════════════ */
|
||||
.kinetic-divider {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--spacing-4);
|
||||
margin: var(--spacing-8) 0;
|
||||
}
|
||||
.kinetic-divider::before,
|
||||
.kinetic-divider::after {
|
||||
content: '';
|
||||
flex: 1;
|
||||
height: 1px;
|
||||
background: var(--outline-variant);
|
||||
}
|
||||
.kinetic-divider::before { background: var(--primary); max-width: 40px; }
|
||||
|
||||
/* ══════════════════════════════
|
||||
ANIMACIONES AL SCROLL
|
||||
══════════════════════════════ */
|
||||
.animate-on-scroll {
|
||||
opacity: 0;
|
||||
transform: translateY(20px);
|
||||
transition: opacity 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
|
||||
transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
||||
}
|
||||
|
||||
.animate-on-scroll.visible {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.animate-on-scroll[data-delay="1"] { transition-delay: 0.08s; }
|
||||
.animate-on-scroll[data-delay="2"] { transition-delay: 0.16s; }
|
||||
.animate-on-scroll[data-delay="3"] { transition-delay: 0.24s; }
|
||||
.animate-on-scroll[data-delay="4"] { transition-delay: 0.32s; }
|
||||
.animate-on-scroll[data-delay="5"] { transition-delay: 0.40s; }
|
||||
|
||||
/* Variante: slide desde izquierda */
|
||||
.animate-slide-left {
|
||||
opacity: 0;
|
||||
transform: translateX(-20px);
|
||||
transition: opacity 0.5s ease, transform 0.5s ease;
|
||||
}
|
||||
.animate-slide-left.visible {
|
||||
opacity: 1;
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
/* ══════════════════════════════
|
||||
FORMULARIOS
|
||||
══════════════════════════════ */
|
||||
.form-control {
|
||||
border: 1px solid var(--outline-variant);
|
||||
border-radius: var(--radius-sm) !important;
|
||||
background: var(--surface-container-lowest);
|
||||
color: var(--on-surface);
|
||||
font-family: var(--font-body) !important;
|
||||
transition: border-color 0.2s, box-shadow 0.2s;
|
||||
}
|
||||
|
||||
.form-control:focus {
|
||||
border-color: var(--primary);
|
||||
box-shadow: 0 0 0 3px rgba(194, 0, 0, 0.1);
|
||||
background: var(--surface-container-lowest);
|
||||
color: var(--on-surface);
|
||||
}
|
||||
|
||||
/* ══════════════════════════════
|
||||
TABLAS
|
||||
══════════════════════════════ */
|
||||
.table {
|
||||
font-family: var(--font-body) !important;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.table th {
|
||||
font-family: var(--font-body) !important;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.75rem;
|
||||
letter-spacing: 0.08em;
|
||||
color: var(--on-surface-muted);
|
||||
border-bottom: 2px solid var(--outline-variant);
|
||||
}
|
||||
|
||||
/* ══════════════════════════════
|
||||
NOTICIAS — ITEM
|
||||
══════════════════════════════ */
|
||||
.kinetic-news-item {
|
||||
transition: background 0.2s;
|
||||
border-radius: var(--radius-sm);
|
||||
padding: var(--spacing-2) 0;
|
||||
}
|
||||
.kinetic-news-item:hover { background: var(--surface-container-low); }
|
||||
|
||||
.hover-primary:hover { color: var(--primary) !important; }
|
||||
|
||||
/* ══════════════════════════════
|
||||
SPLASH SCREEN
|
||||
══════════════════════════════ */
|
||||
#splash-screen {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: var(--arena-dark);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
z-index: 99999;
|
||||
transition: opacity 0.4s ease, visibility 0.4s ease;
|
||||
}
|
||||
|
||||
#splash-screen.hidden {
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
#splash-logo {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
animation: splashPulse 0.8s ease-in-out infinite alternate;
|
||||
}
|
||||
|
||||
@keyframes splashPulse {
|
||||
from { transform: scale(0.9); opacity: 0.7; }
|
||||
to { transform: scale(1.05); opacity: 1; }
|
||||
}
|
||||
|
||||
/* ══════════════════════════════
|
||||
UTILIDADES
|
||||
══════════════════════════════ */
|
||||
.no-line { border: none !important; }
|
||||
.no-scrollbar::-webkit-scrollbar { display: none; }
|
||||
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
|
||||
.text-kinetic-muted { color: var(--on-surface-muted) !important; }
|
||||
.bg-primary-container { background-color: rgba(194, 0, 0, 0.1) !important; }
|
||||
.text-primary { color: var(--primary) !important; }
|
||||
|
||||
.tracking-widest { letter-spacing: 0.2em; }
|
||||
.line-clamp-2 {
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* ══════════════════════════════
|
||||
PULSE (badges en vivo)
|
||||
══════════════════════════════ */
|
||||
.pulse {
|
||||
animation: badgePulse 2s infinite;
|
||||
}
|
||||
@keyframes badgePulse {
|
||||
0%, 100% { opacity: 1; }
|
||||
50% { opacity: 0.5; }
|
||||
}
|
||||
|
||||
/* ══════════════════════════════
|
||||
FOOTER
|
||||
══════════════════════════════ */
|
||||
footer, .footer-section {
|
||||
font-family: var(--font-body) !important;
|
||||
font-size: 0.875rem;
|
||||
background: var(--arena-dark) !important;
|
||||
color: rgba(255,255,255,0.6) !important;
|
||||
}
|
||||
|
||||
/* ══════════════════════════════
|
||||
RESPONSIVE
|
||||
══════════════════════════════ */
|
||||
@media (max-width: 991px) {
|
||||
.custom-navbar .navbar-collapse {
|
||||
background: var(--surface-container-lowest);
|
||||
border: 1px solid var(--outline-variant);
|
||||
border-radius: var(--radius);
|
||||
padding: var(--spacing-2);
|
||||
margin-top: var(--spacing-2);
|
||||
}
|
||||
|
||||
.custom-navbar .nav-link {
|
||||
padding: 10px 16px !important;
|
||||
border-radius: var(--radius-sm);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.hero-title {
|
||||
font-size: clamp(3rem, 15vw, 5rem);
|
||||
line-height: 0.9 !important;
|
||||
}
|
||||
|
||||
.kinetic-card:hover {
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user