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: 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;
  /* Supprimer les styles de boîte */
  background: none !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.article-detaille-icone *,
.article-detaille-icone span,
.article-detaille-icone svg {
  background: none !important;
  border: none !important;
  padding: 0 !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;
}
.article-detaille-liens {
  color: #1976d2;
  font-weight: 500;
}
.article-detaille-liens a {
  color: #1976d2;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.article-detaille-liens a:hover {
  border-bottom-color: #1976d2;
}
/* ================================
   MODE SOMBRE
   ================================ */
[data-theme="dark"] .article-detaille {
  background: linear-gradient(135deg, #1e2432 0%, #252b3a 100%);
  border-left-color: #42a5f5;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
[data-theme="dark"] .article-detaille:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}
[data-theme="dark"] .article-detaille-icone {
  color: #90caf9;
}
[data-theme="dark"] .article-detaille-label {
  color: #e0e0e0;
}
[data-theme="dark"] .article-detaille-liens {
  color: #90caf9;
}
[data-theme="dark"] .article-detaille-liens a {
  color: #90caf9;
}
[data-theme="dark"] .article-detaille-liens a:hover {
  border-bottom-color: #90caf9;
}
/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 600px) {
  .article-detaille {
    padding: 10px 14px;
    gap: 10px;
  }
  .article-detaille-icone {
    font-size: 20px;
  }
  .article-detaille-contenu {
    font-size: 0.9em;
    gap: 4px;
  }
  .article-detaille-label {
    width: 100%;
  }
}
/* ================================
   VARIANTE COMPACTE (optionnelle)
   ================================ */
.article-detaille.compact {
  padding: 8px 12px;
  margin: 12px 0;
}
.article-detaille.compact .article-detaille-icone {
  font-size: 18px;
}
.article-detaille.compact .article-detaille-contenu {
  font-size: 0.88em;
}