Modèle:Article détaillé/styles.css
De Nefald
Autres actions
/* ================================
ARTICLE DÉTAILLÉ - Style simple
================================ */
.article-detaille {
display: flex;
align-items: flex-start;
gap: 8px;
padding: 10px 12px;
margin: 12px 0;
background-color: #f0f7ff;
border-left: 3px solid #1976d2;
border-radius: 4px;
}
.article-detaille-icone {
font-size: 18px;
color: #1976d2;
flex-shrink: 0;
margin-top: 2px;
}
.article-detaille-contenu {
flex: 1;
font-size: 0.95em;
line-height: 1.5;
}
.article-detaille-label {
font-weight: 600;
color: #212121;
}
.article-detaille-liens {
color: #1976d2;
}
.article-detaille-liens a {
color: #0645ad;
text-decoration: none;
}
.article-detaille-liens a:hover {
text-decoration: underline;
}
/* ================================
MODE SOMBRE
================================ */
[data-theme="dark"] .article-detaille {
background-color: #1a2332;
border-left-color: #64b5f6;
}
[data-theme="dark"] .article-detaille-icone {
color: #64b5f6;
}
[data-theme="dark"] .article-detaille-label {
color: #e8eaed;
}
[data-theme="dark"] .article-detaille-liens a {
color: #8ab4f8;
}
/* ================================
RESPONSIVE
================================ */
@media (max-width: 768px) {
.article-detaille {
padding: 8px 10px;
gap: 6px;
}
.article-detaille-icone {
font-size: 16px;
}
}