« Modèle:Article détaillé/styles.css » : différence entre les versions
De Nefald
Autres actions
Page créée avec « →================================ 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 4... » |
mAucun résumé des modifications |
||
| Ligne 1 : | Ligne 1 : | ||
/* ================================ | /* ================================ | ||
ARTICLE DÉTAILLÉ - Citizen Skin | ARTICLE DÉTAILLÉ - Citizen Skin | ||
Version légère et subtile | |||
================================ */ | ================================ */ | ||
| Ligne 6 : | Ligne 7 : | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
gap: | gap: 10px; | ||
padding: 12px | padding: 10px 12px; | ||
margin: 16px 0; | margin: 16px 0; | ||
background: | background: transparent; | ||
border-left: | border-left: 3px solid #1976d2; | ||
transition: all 0.2s ease; | transition: all 0.2s ease; | ||
} | } | ||
.article-detaille:hover { | .article-detaille:hover { | ||
border-left-width: 4px; | |||
padding-left: 11px; | |||
} | } | ||
.article-detaille-icone { | .article-detaille-icone { | ||
font-size: | font-size: 20px; | ||
color: #1976d2; | color: #1976d2; | ||
flex-shrink: 0; | flex-shrink: 0; | ||
line-height: 1; | line-height: 1; | ||
/* Supprimer les styles de boîte */ | font-weight: 400; | ||
/* Supprimer TOUS les styles de boîte */ | |||
background: none !important; | background: none !important; | ||
border: none !important; | border: none !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
margin: 0 !important; | |||
border-radius: 0 !important; | border-radius: 0 !important; | ||
box-shadow: none !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 *, | ||
.article-detaille-icone span, | .article-detaille-icone span, | ||
.article-detaille-icone svg { | .article-detaille-icone > span, | ||
.article-detaille-icone > span > span, | |||
.article-detaille-icone svg, | |||
.article-detaille-icone i { | |||
background: none !important; | background: none !important; | ||
border: none !important; | border: none !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
margin: 0 !important; | |||
border-radius: 0 !important; | |||
box-shadow: none !important; | |||
display: inline !important; | display: inline !important; | ||
color: inherit !important; | color: inherit !important; | ||
| Ligne 57 : | Ligne 66 : | ||
color: #424242; | color: #424242; | ||
white-space: nowrap; | white-space: nowrap; | ||
/* Pas d'encadré sur le label */ | |||
background: none !important; | |||
border: none !important; | |||
padding: 0 !important; | |||
} | } | ||
.article-detaille-liens { | .article-detaille-liens { | ||
color: #1976d2; | color: #1976d2; | ||
font-weight: | font-weight: 400; | ||
} | } | ||
| Ligne 67 : | Ligne 80 : | ||
color: #1976d2; | color: #1976d2; | ||
text-decoration: none; | text-decoration: none; | ||
border-bottom: 1px | border-bottom: 1px dotted #1976d2; | ||
transition: border- | transition: border-bottom 0.2s ease; | ||
} | } | ||
.article-detaille-liens a:hover { | .article-detaille-liens a:hover { | ||
border-bottom- | border-bottom-style: solid; | ||
} | } | ||
| Ligne 80 : | Ligne 93 : | ||
[data-theme="dark"] .article-detaille { | [data-theme="dark"] .article-detaille { | ||
border-left-color: #64b5f6; | |||
border-left-color: # | |||
} | } | ||
[data-theme="dark"] .article-detaille-icone { | [data-theme="dark"] .article-detaille-icone { | ||
color: # | color: #64b5f6; | ||
} | } | ||
| Ligne 98 : | Ligne 105 : | ||
[data-theme="dark"] .article-detaille-liens { | [data-theme="dark"] .article-detaille-liens { | ||
color: # | color: #64b5f6; | ||
} | } | ||
[data-theme="dark"] .article-detaille-liens a { | [data-theme="dark"] .article-detaille-liens a { | ||
color: # | color: #64b5f6; | ||
border-bottom-color: #64b5f6; | |||
border-bottom-color: # | |||
} | } | ||
| Ligne 113 : | Ligne 117 : | ||
================================ */ | ================================ */ | ||
@media (max-width: | @media (max-width: 768px) { | ||
.article-detaille { | .article-detaille { | ||
gap: 8px; | |||
padding: 8px 10px; | |||
} | } | ||
.article-detaille-icone { | .article-detaille-icone { | ||
font-size: | font-size: 18px; | ||
} | } | ||
.article-detaille-contenu { | .article-detaille-contenu { | ||
flex-direction: column; | |||
align-items: flex-start; | |||
gap: 2px; | |||
} | } | ||
} | } | ||
Version du 28 octobre 2025 à 13:33
/* ================================
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;
}
}