« Modèle:Article détaillé/styles.css » : différence entre les versions
De Nefald
Autres actions
mAucun résumé des modifications |
mAucun résumé des modifications |
||
| Ligne 1 : | Ligne 1 : | ||
/* ================================ | /* ================================ | ||
ARTICLE DÉTAILLÉ - Citizen Skin | ARTICLE DÉTAILLÉ - Citizen Skin | ||
================================ */ | ================================ */ | ||
| Ligne 7 : | Ligne 6 : | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
gap: | gap: 12px; | ||
padding: | padding: 12px 16px; | ||
margin: 16px 0; | margin: 16px 0; | ||
background: | background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%); | ||
border-left: | border-left: 4px solid #1976d2; | ||
border-radius: 6px; | |||
transition: all 0.2s ease; | transition: all 0.2s ease; | ||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08); | |||
} | } | ||
.article-detaille:hover { | .article-detaille:hover { | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12); | |||
transform: translateX(2px); | |||
} | } | ||
.article-detaille-icone { | .article-detaille-icone { | ||
font-size: | font-size: 24px; | ||
color: #1976d2; | color: #1976d2; | ||
flex-shrink: 0; | flex-shrink: 0; | ||
line-height: 1; | line-height: 1; | ||
/* FORCER la suppression des encadrés */ | |||
/* | |||
background: none !important; | background: none !important; | ||
border: none !important; | border: none !important; | ||
| Ligne 33 : | Ligne 33 : | ||
border-radius: 0 !important; | border-radius: 0 !important; | ||
box-shadow: none !important; | box-shadow: none !important; | ||
outline: none !important; | |||
display: inline-flex !important; | display: inline-flex !important; | ||
} | } | ||
/* | /* Cibler TOUS les éléments enfants de l'icône */ | ||
.article-detaille-icone *, | .article-detaille-icone *, | ||
.article-detaille-icone span, | .article-detaille-icone span, | ||
.article-detaille-icone > | .article-detaille-icone > *, | ||
.article-detaille-icone svg, | .article-detaille-icone svg, | ||
.article-detaille-icone i { | .article-detaille-icone i { | ||
| Ligne 49 : | Ligne 49 : | ||
border-radius: 0 !important; | border-radius: 0 !important; | ||
box-shadow: none !important; | box-shadow: none !important; | ||
outline: none !important; | |||
color: inherit !important; | color: inherit !important; | ||
} | } | ||
| Ligne 59 : | Ligne 59 : | ||
align-items: baseline; | align-items: baseline; | ||
gap: 6px; | gap: 6px; | ||
} | } | ||
| Ligne 66 : | Ligne 65 : | ||
color: #424242; | color: #424242; | ||
white-space: nowrap; | white-space: nowrap; | ||
} | } | ||
.article-detaille-liens { | .article-detaille-liens { | ||
color: #1976d2; | color: #1976d2; | ||
font-weight: | font-weight: 500; | ||
} | } | ||
| Ligne 80 : | Ligne 75 : | ||
color: #1976d2; | color: #1976d2; | ||
text-decoration: none; | text-decoration: none; | ||
transition: text-decoration 0.2s ease; | |||
transition: | |||
} | } | ||
.article-detaille-liens a:hover { | .article-detaille-liens a:hover { | ||
text-decoration: underline; | |||
} | } | ||
| Ligne 93 : | Ligne 87 : | ||
[data-theme="dark"] .article-detaille { | [data-theme="dark"] .article-detaille { | ||
background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%); | |||
border-left-color: #64b5f6; | border-left-color: #64b5f6; | ||
} | } | ||
| Ligne 110 : | Ligne 105 : | ||
[data-theme="dark"] .article-detaille-liens a { | [data-theme="dark"] .article-detaille-liens a { | ||
color: #64b5f6; | color: #64b5f6; | ||
} | } | ||
| Ligne 119 : | Ligne 113 : | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
.article-detaille { | .article-detaille { | ||
gap: | gap: 10px; | ||
padding: | padding: 10px 14px; | ||
} | } | ||
.article-detaille-icone { | .article-detaille-icone { | ||
font-size: | font-size: 20px; | ||
} | } | ||
| Ligne 130 : | Ligne 124 : | ||
flex-direction: column; | flex-direction: column; | ||
align-items: flex-start; | align-items: flex-start; | ||
gap: | gap: 4px; | ||
} | } | ||
} | } | ||
Version du 28 octobre 2025 à 13:34
/* ================================
ARTICLE DÉTAILLÉ - Citizen Skin
================================ */
.article-detaille {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 16px;
margin: 16px 0;
background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
border-left: 4px solid #1976d2;
border-radius: 6px;
transition: all 0.2s ease;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}
.article-detaille:hover {
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
transform: translateX(2px);
}
.article-detaille-icone {
font-size: 24px;
color: #1976d2;
flex-shrink: 0;
line-height: 1;
/* FORCER la suppression des encadrés */
background: none !important;
border: none !important;
padding: 0 !important;
margin: 0 !important;
border-radius: 0 !important;
box-shadow: none !important;
outline: none !important;
display: inline-flex !important;
}
/* Cibler TOUS les éléments enfants de l'icône */
.article-detaille-icone *,
.article-detaille-icone span,
.article-detaille-icone > *,
.article-detaille-icone svg,
.article-detaille-icone i {
background: none !important;
border: none !important;
padding: 0 !important;
margin: 0 !important;
border-radius: 0 !important;
box-shadow: none !important;
outline: none !important;
color: inherit !important;
}
.article-detaille-contenu {
flex: 1;
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 6px;
}
.article-detaille-label {
font-weight: 600;
color: #424242;
white-space: nowrap;
}
.article-detaille-liens {
color: #1976d2;
font-weight: 500;
}
.article-detaille-liens a {
color: #1976d2;
text-decoration: none;
transition: text-decoration 0.2s ease;
}
.article-detaille-liens a:hover {
text-decoration: underline;
}
/* ================================
MODE SOMBRE
================================ */
[data-theme="dark"] .article-detaille {
background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
border-left-color: #64b5f6;
}
[data-theme="dark"] .article-detaille-icone {
color: #64b5f6;
}
[data-theme="dark"] .article-detaille-label {
color: #e0e0e0;
}
[data-theme="dark"] .article-detaille-liens {
color: #64b5f6;
}
[data-theme="dark"] .article-detaille-liens a {
color: #64b5f6;
}
/* ================================
RESPONSIVE
================================ */
@media (max-width: 768px) {
.article-detaille {
gap: 10px;
padding: 10px 14px;
}
.article-detaille-icone {
font-size: 20px;
}
.article-detaille-contenu {
flex-direction: column;
align-items: flex-start;
gap: 4px;
}
}