« Modèle:Article détaillé/styles.css » : différence entre les versions
De Nefald
Autres actions
mAucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 1 : | Ligne 1 : | ||
/* ================================ | /* ================================ | ||
ARTICLE DÉTAILLÉ - | ARTICLE DÉTAILLÉ - Style simple | ||
================================ */ | ================================ */ | ||
.article-detaille { | .article-detaille { | ||
display: flex; | display: flex; | ||
align-items: | align-items: flex-start; | ||
gap: | gap: 8px; | ||
padding: 12px | padding: 10px 12px; | ||
margin: | margin: 12px 0; | ||
background: # | background-color: #f0f7ff; | ||
border-left: | border-left: 3px solid #1976d2; | ||
border-radius: | border-radius: 4px; | ||
} | } | ||
.article-detaille-icone { | .article-detaille-icone { | ||
font-size: | font-size: 18px; | ||
color: #1976d2; | color: #1976d2; | ||
flex-shrink: 0; | flex-shrink: 0; | ||
margin-top: 2px; | |||
margin | |||
} | } | ||
.article-detaille-contenu { | .article-detaille-contenu { | ||
flex: 1; | flex: 1; | ||
font-size: 0.95em; | |||
line-height: 1.5; | |||
} | } | ||
.article-detaille-label { | .article-detaille-label { | ||
font-weight: 600; | font-weight: 600; | ||
color: # | color: #212121; | ||
} | } | ||
.article-detaille-liens { | .article-detaille-liens { | ||
color: #1976d2; | color: #1976d2; | ||
} | } | ||
.article-detaille-liens a { | .article-detaille-liens a { | ||
color: # | color: #0645ad; | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
| Ligne 105 : | Ligne 50 : | ||
[data-theme="dark"] .article-detaille { | [data-theme="dark"] .article-detaille { | ||
background: # | background-color: #1a2332; | ||
border-left-color: #64b5f6; | border-left-color: #64b5f6; | ||
} | } | ||
| Ligne 114 : | Ligne 59 : | ||
[data-theme="dark"] .article-detaille-label { | [data-theme="dark"] .article-detaille-label { | ||
color: # | color: #e8eaed; | ||
} | } | ||
[data-theme="dark"] .article-detaille-liens a { | [data-theme="dark"] .article-detaille-liens a { | ||
color: # | color: #8ab4f8; | ||
} | } | ||
| Ligne 131 : | Ligne 72 : | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
.article-detaille { | .article-detaille { | ||
padding: 8px 10px; | |||
gap: 6px; | |||
} | } | ||
.article-detaille-icone { | .article-detaille-icone { | ||
font-size: | font-size: 16px; | ||
} | } | ||
} | } | ||
Version du 28 octobre 2025 à 13:42
/* ================================
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;
}
}