« Modèle:Accueil/shared/styles.css » : différence entre les versions
De Nefald
Autres actions
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 8 : | Ligne 8 : | ||
5. NAVIGATION CARDS | 5. NAVIGATION CARDS | ||
6. LAYOUT PRINCIPAL | 6. LAYOUT PRINCIPAL | ||
6b. CADRES | |||
7. FEATURED ARTICLES | 7. FEATURED ARTICLES | ||
8. UPDATES | 8. UPDATES | ||
| Ligne 335 : | Ligne 336 : | ||
gap: 1.5rem; | gap: 1.5rem; | ||
align-content: start; | align-content: start; | ||
} | |||
/* ==================================== | |||
6B. CADRES MODULES (Featured, Stats, etc.) | |||
==================================== */ | |||
.home-featured, | |||
.home-updates, | |||
.home-stats, | |||
.home-social, | |||
.home-links { | |||
background: var(--color-surface-0); | |||
border: 1px solid var(--border-color-base); | |||
border-radius: var(--radius-lg); | |||
padding: 1.5rem; | |||
transition: border-color 0.3s ease; | |||
} | |||
.home-featured:hover, | |||
.home-updates:hover, | |||
.home-stats:hover, | |||
.home-social:hover, | |||
.home-links:hover { | |||
border-color: var(--color-primary); | |||
} | |||
/* Titres des sections */ | |||
.home-featured__title, | |||
.home-updates__title, | |||
.home-stats__title, | |||
.home-social__title, | |||
.home-links__title { | |||
font-size: 1.25rem; | |||
font-weight: 700; | |||
color: var(--color-base); | |||
margin-bottom: 1.5rem; | |||
padding-bottom: 0.75rem; | |||
border-bottom: 2px solid var(--border-color-base); | |||
display: flex; | |||
align-items: center; | |||
gap: 0.5rem; | |||
} | |||
.home-featured__title::before { | |||
content: '⭐'; | |||
font-size: 1.25rem; | |||
} | |||
.home-updates__title::before { | |||
content: '📰'; | |||
font-size: 1.25rem; | |||
} | |||
.home-stats__title::before { | |||
content: '📊'; | |||
font-size: 1.25rem; | |||
} | |||
.home-social__title::before { | |||
content: '💬'; | |||
font-size: 1.25rem; | |||
} | |||
.home-links__title::before { | |||
content: '🔗'; | |||
font-size: 1.25rem; | |||
} | } | ||