@@ -291,27 +291,45 @@ palette:
291291<a href="/path/" class="btn-nav "> Navigate</a >
292292```
293293
294- ## CSS Variables Reference
294+ ## CSS System Reference
295295
296- ### Spacing & Layout
297- ```css
298- --button-radius: 3.125rem
299- --card-radius: 0.75rem
300- ```
296+ > ** 📋 Para documentación completa del sistema de diseño y CSS, ver [`STYLE_GUIDE.md`](STYLE_GUIDE.md )**
297+
298+ El proyecto utiliza una ** arquitectura variables-first ** con 18+ variables CSS centralizadas. Para información completa sobre:
299+
300+ - 🎨 ** Variables CSS completas** → Ver sección "Sistema de Variables" en STYLE_GUIDE.md
301+ - 🧩 ** Componentes detallados** → Ver sección "Componentes" en STYLE_GUIDE.md
302+ - 🏗️ ** Sistema unificado de tarjetas** → Ver sección dedicada en STYLE_GUIDE.md
303+ - 📱 ** Layout responsive** → Ver sección "Layout y Responsive" en STYLE_GUIDE.md
304+ - ⚡ ** Buenas prácticas** → Ver sección completa en STYLE_GUIDE.md
305+
306+ ### Variables esenciales para IA:
301307
302- ### Transitions
303308```css
309+ /* Colores principales */
310+ --python-green: #4CAF50
311+ --python-green-dark: #45a049
312+
313+ /* Badges (8 tipos completos en STYLE_GUIDE.md) */
314+ --badge-ambassador: #2E7D32
315+ --badge-technical: #37474F
316+
317+ /* Transiciones estándar */
304318--transition-base: all 0.3s ease
305319--transition-smooth: all 0.3s cubic-bezier(0.4 , 0, 0.2 , 1)
320+
321+ /* Layout */
322+ --button-radius: 3.125rem
323+ --card-radius: 0.75rem
306324```
307325
308- ### Usage Pattern
326+ ### Patrón de uso rápido:
309327```css
310- .new-component {
328+ .nuevo-componente {
311329 background : var (--python-green );
312330 border-radius : var (--card-radius );
313331 transition : var (--transition-base );
314- color : var ( --python-white );
332+ /* Ver STYLE_GUIDE.md para más variables */
315333}
316334```
317335
@@ -344,14 +362,21 @@ palette:
344362- ** Typography** : Uses clamp() for responsive scaling
345363
346364## Maintenance Notes
347- - CSS file currently optimized and organized (~ 800+ lines, multiple optimizations)
365+ - CSS file currently optimized and organized (~ 1466 lines, heavily optimized with variables)
366+ - ** COMPLETE variables-first architecture** - Zero hardcoded colors, all use CSS custom properties
367+ - ** 18 CSS variables total** - Primary colors, social media, badges, years, and layout
348368- All social media colors centralized in variables
369+ - ** Badge system fully variables-driven** - 8 role types with centralized color management
349370- Unified button system with four variants (primary, standard, navigation, action)
350- - Single responsive breakpoint for consistency
371+ - Single responsive breakpoint for consistency (768px)
351372- Dark/light mode handled automatically by MkDocs Material variables
352373- Community links use brand-specific colors with smooth hover transitions
353374- Participation cards use large centered icons for modern appearance
354- - Year cards with specialized styling and gradient hover effects
375+ - Year cards with specialized styling and gradient hover effects using CSS variables
376+ - ** Unified Design System** :
377+ - ** Meetup speaker photos** : Rectangular (160px × 160px, no border-radius)
378+ - ** Ponentes/Volunteer avatars** : Circular (100px × 100px via ` .volunteer-avatar ` )
379+ - ** Community logos** : Circular (120px × 120px with hover effects)
355380- ** NEW** : Comprehensive volunteer system with modern grid layout
356381- ** NEW** : Maintainable ` .volunteer-header ` class eliminates hardcoded names
357382- ** NEW** : Discrete badge system with 8 role types and consistent styling
@@ -360,7 +385,9 @@ palette:
360385- ** UPDATED** : All speakers alphabetically organized with unified navigation
361386- ** UPDATED** : Dedicated ` /images/ponentes/ ` directory for speaker photos
362387- ** UPDATED** : Simplified single-page layout (removed tab system)
388+ - ** OPTIMIZED** : All transitions use standard variables (` var(--transition-base) ` , ` var(--transition-smooth) ` )
363389- Complete responsive design for all card types with mobile-first approach
390+ - ** Zero ` !important ` declarations** - Clean CSS architecture with proper specificity
364391
365392## Critical Information for New Developers
366393
@@ -417,7 +444,40 @@ palette:
417444
418445## Recent Major Updates
419446
420- ### Latest Optimizations (Current Session)
447+ ### Latest CSS Optimization & Variables System (Current Session)
448+ - ** Complete Variables-First Implementation** : Full compliance with CLAUDE.md guidelines
449+ - ** 10 new CSS variables** added for badges, years, and color management
450+ - ** Zero hardcoded colors** - All #hex values now use CSS custom properties
451+ - ** Unified transition system** - Consistent use of ` var(--transition-base) ` and ` var(--transition-smooth) `
452+ - ** Badge system optimization** - All 8 badge types now use centralized color variables
453+ - ** Professional CSS Architecture** :
454+ ``` css
455+ /* NEW VARIABLES ADDED */
456+ --badge-ambassador: #2E7D32 ;
457+ --badge-organizer: #1565C0 ;
458+ --badge-production: #E65100;
459+ --badge-host: #6A1B9A ;
460+ --badge-technical: #37474F ;
461+ --badge-support: #3E2723 ;
462+ --badge-global: #AD1457;
463+ --badge-strategic: #283593 ;
464+ --year-2024-color: #2196F3 ;
465+ --year-2024-hover: #1976D2 ;
466+ --year-2023-color: #FF9800;
467+ --year-2023-hover: #F57C00;
468+ ```
469+ - ** Unified Design System Maintained** :
470+ - ** Speaker images in meetups** : Rectangular (160px × 160px) - no border-radius
471+ - ** Speaker images in ponentes page** : Circular via `.volunteer-avatar` (100px × 100px)
472+ - ** Volunteer avatars** : Circular via `.volunteer-avatar` (100px × 100px)
473+ - ** Community logos** : Circular (120px × 120px) with hover scale effects
474+ - ** CSS Code Quality Enhancement** :
475+ - ** Zero `!important` declarations** - Clean specificity hierarchy maintained
476+ - ** Consistent variable usage** - Every color, transition, and spacing uses CSS variables
477+ - ** Maintainable architecture** - Easy theming and future modifications
478+ - ** Performance optimized** - Consolidated selectors and efficient CSS organization
479+
480+ ### Previous Major Optimizations
421481- ** CSS Architecture Overhaul** : Complete elimination of `!important` declarations (7 instances removed)
422482 - Migration to specific selectors and proper CSS specificity hierarchy
423483 - Improved maintainability through clean CSS architecture
0 commit comments