Basculer le menu
Changer de menu des préférences
Basculer le menu personnel
Non connecté(e)
Votre adresse IP sera visible au public si vous faites des modifications.

« Modèle:Article détaillé/styles.css » : différence entre les versions

De Nefald
Hiob (discussion | contributions)
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... »
 
Hiob (discussion | contributions)
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: 12px;
   gap: 10px;
   padding: 12px 16px;
   padding: 10px 12px;
   margin: 16px 0;
   margin: 16px 0;
   background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
   background: transparent;
   border-left: 4px solid #1976d2;
   border-left: 3px solid #1976d2;
  border-radius: 6px;
   transition: all 0.2s ease;
   transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}
}


.article-detaille:hover {
.article-detaille:hover {
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
   border-left-width: 4px;
   transform: translateX(2px);
   padding-left: 11px;
}
}


.article-detaille-icone {
.article-detaille-icone {
   font-size: 24px;
   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: 500;
   font-weight: 400;
}
}


Ligne 67 : Ligne 80 :
   color: #1976d2;
   color: #1976d2;
   text-decoration: none;
   text-decoration: none;
   border-bottom: 1px solid transparent;
   border-bottom: 1px dotted #1976d2;
   transition: border-color 0.2s ease;
   transition: border-bottom 0.2s ease;
}
}


.article-detaille-liens a:hover {
.article-detaille-liens a:hover {
   border-bottom-color: #1976d2;
   border-bottom-style: solid;
}
}


Ligne 80 : Ligne 93 :


[data-theme="dark"] .article-detaille {
[data-theme="dark"] .article-detaille {
  background: linear-gradient(135deg, #1e2432 0%, #252b3a 100%);
   border-left-color: #64b5f6;
   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 {
[data-theme="dark"] .article-detaille-icone {
   color: #90caf9;
   color: #64b5f6;
}
}


Ligne 98 : Ligne 105 :


[data-theme="dark"] .article-detaille-liens {
[data-theme="dark"] .article-detaille-liens {
   color: #90caf9;
   color: #64b5f6;
}
}


[data-theme="dark"] .article-detaille-liens a {
[data-theme="dark"] .article-detaille-liens a {
   color: #90caf9;
   color: #64b5f6;
}
   border-bottom-color: #64b5f6;
 
[data-theme="dark"] .article-detaille-liens a:hover {
   border-bottom-color: #90caf9;
}
}


Ligne 113 : Ligne 117 :
   ================================ */
   ================================ */


@media (max-width: 600px) {
@media (max-width: 768px) {
   .article-detaille {
   .article-detaille {
     padding: 10px 14px;
     gap: 8px;
     gap: 10px;
     padding: 8px 10px;
   }
   }
 
 
   .article-detaille-icone {
   .article-detaille-icone {
     font-size: 20px;
     font-size: 18px;
   }
   }
 
 
   .article-detaille-contenu {
   .article-detaille-contenu {
     font-size: 0.9em;
     flex-direction: column;
     gap: 4px;
     align-items: flex-start;
  }
     gap: 2px;
 
  .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;
}
}

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;
  }
}
Les témoins (''cookies'') nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de témoins.