Modèle:Article détaillé/styles.css
De Nefald
Autres actions
/* ================================
ARTICLE DÉTAILLÉ - Citizen Skin
================================ */
.article-detaille {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 16px;
margin: 16px 0;
background: #ffffff;
border-left: 4px solid #1976d2;
border-radius: 6px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
transition: all 0.2s ease;
}
.article-detaille:hover {
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
transform: translateX(2px);
}
/* ICÔNE - Suppression totale des encadrés */
.article-detaille-icone {
font-size: 24px;
color: #1976d2;
flex-shrink: 0;
line-height: 1;
/* Forcer l'absence de styles */
background: transparent !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 niveaux d'imbrication FontAwesome */
.article-detaille-icone *,
.article-detaille-icone > *,
.article-detaille-icone span,
.article-detaille-icone span span,
.article-detaille-icone svg,
.article-detaille-icone i {
background: transparent !important;
border: none !important;
padding: 0 !important;
margin: 0 !important;
border-radius: 0 !important;
box-shadow: none !important;
outline: none !important;
color: inherit !important;
display: inline !important;
}
/* CONTENU - Suppression des encadrés */
.article-detaille-contenu {
flex: 1;
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 6px;
background: transparent !important;
border: none !important;
padding: 0 !important;
margin: 0 !important;
}
.article-detaille-label {
font-weight: 600;
color: #424242;
white-space: nowrap;
background: transparent !important;
border: none !important;
padding: 0 !important;
margin: 0 !important;
}
.article-detaille-liens {
color: #1976d2;
font-weight: 500;
background: transparent !important;
border: none !important;
padding: 0 !important;
margin: 0 !important;
}
.article-detaille-liens a {
color: #1976d2;
text-decoration: none;
transition: text-decoration 0.2s ease;
background: transparent !important;
border: none !important;
}
.article-detaille-liens a:hover {
text-decoration: underline;
}
/* ================================
MODE SOMBRE
================================ */
[data-theme="dark"] .article-detaille {
background: #1e1e1e;
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;
}
}