Modèle:Article détaillé/styles.css
De Nefald
Autres actions
/* ================================
ARTICLE DÉTAILLÉ - Citizen Skin
Version légère et subtile
================================ */
.article-detaille {
display: flex;
align-items: center;
gap: 10px;
padding: 10px 12px;
margin: 16px 0;
background: transparent;
border-left: 3px solid #1976d2;
transition: all 0.2s ease;
}
.article-detaille:hover {
border-left-width: 4px;
padding-left: 11px;
}
.article-detaille-icone {
font-size: 20px;
color: #1976d2;
flex-shrink: 0;
line-height: 1;
font-weight: 400;
/* Supprimer TOUS les styles de boîte */
background: none !important;
border: none !important;
padding: 0 !important;
margin: 0 !important;
border-radius: 0 !important;
box-shadow: none !important;
display: inline-flex !important;
}
/* Forcer la suppression des encadrés sur TOUS les éléments enfants */
.article-detaille-icone *,
.article-detaille-icone span,
.article-detaille-icone > span,
.article-detaille-icone > span > span,
.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;
display: inline !important;
color: inherit !important;
}
.article-detaille-contenu {
flex: 1;
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 6px;
font-size: 0.95em;
}
.article-detaille-label {
font-weight: 600;
color: #424242;
white-space: nowrap;
/* Pas d'encadré sur le label */
background: none !important;
border: none !important;
padding: 0 !important;
}
.article-detaille-liens {
color: #1976d2;
font-weight: 400;
}
.article-detaille-liens a {
color: #1976d2;
text-decoration: none;
border-bottom: 1px dotted #1976d2;
transition: border-bottom 0.2s ease;
}
.article-detaille-liens a:hover {
border-bottom-style: solid;
}
/* ================================
MODE SOMBRE
================================ */
[data-theme="dark"] .article-detaille {
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;
border-bottom-color: #64b5f6;
}
/* ================================
RESPONSIVE
================================ */
@media (max-width: 768px) {
.article-detaille {
gap: 8px;
padding: 8px 10px;
}
.article-detaille-icone {
font-size: 18px;
}
.article-detaille-contenu {
flex-direction: column;
align-items: flex-start;
gap: 2px;
}
}