« Modèle:Accueil/shared/styles.css » : différence entre les versions
De Nefald
Autres actions
Aucun résumé des modifications |
Annulation des modifications 4484 de Hiob (discussion) Balise : Annulation |
||
| (13 versions intermédiaires par le même utilisateur non affichées) | |||
| 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 83 : | Ligne 84 : | ||
.home-header__logo { | .home-header__logo { | ||
max-width: | max-width: 400px; | ||
height: auto; | height: auto; | ||
margin-bottom: 1.5rem; | margin-bottom: 1.5rem; | ||
| 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; | |||
} | } | ||
| Ligne 534 : | Ligne 601 : | ||
.home-stats__number { | .home-stats__number { | ||
font-size: | font-size: 1.5rem; | ||
font-weight: 700; | font-weight: 700; | ||
color: var(--color-primary); | color: var(--color-primary); | ||
| Ligne 551 : | Ligne 618 : | ||
==================================== */ | ==================================== */ | ||
/* ==================================== | |||
SUPPRESSION DES STYLES CONFLICTUELS | |||
Les règles suivantes ont été SUPPRIMÉES car elles | |||
entraient en conflit avec le modèle ButtonLink : | |||
- #home-card-discord, #home-card-patreon, #home-card-gitlab | |||
- min-height forcé | |||
- display: flex !important | |||
- Centrage forcé des images | |||
Le modèle ButtonLink gère maintenant tout automatiquement. | |||
==================================== */ | |||
. | |||
/* ==================================== | /* ==================================== | ||
| Ligne 648 : | Ligne 671 : | ||
background: var(--color-surface-2); | background: var(--color-surface-2); | ||
border-color: var(--color-primary); | border-color: var(--color-primary); | ||
} | } | ||