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)
mAucun résumé des modifications
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 7 : Ligne 6 :
   display: flex;
   display: flex;
   align-items: center;
   align-items: center;
   gap: 10px;
   gap: 12px;
   padding: 10px 12px;
   padding: 12px 16px;
   margin: 16px 0;
   margin: 16px 0;
   background: transparent;
   background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
   border-left: 3px solid #1976d2;
   border-left: 4px 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 {
   border-left-width: 4px;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
   padding-left: 11px;
   transform: translateX(2px);
}
}


.article-detaille-icone {
.article-detaille-icone {
   font-size: 20px;
   font-size: 24px;
   color: #1976d2;
   color: #1976d2;
   flex-shrink: 0;
   flex-shrink: 0;
   line-height: 1;
   line-height: 1;
  font-weight: 400;
   /* FORCER la suppression des encadrés */
   /* Supprimer TOUS les styles de boîte */
   background: none !important;
   background: none !important;
   border: none !important;
   border: none !important;
Ligne 33 : Ligne 33 :
   border-radius: 0 !important;
   border-radius: 0 !important;
   box-shadow: none !important;
   box-shadow: none !important;
  outline: none !important;
   display: inline-flex !important;
   display: inline-flex !important;
}
}


/* Forcer la suppression des encadrés sur TOUS les éléments enfants */
/* Cibler TOUS les éléments enfants de l'icône */
.article-detaille-icone *,
.article-detaille-icone *,
.article-detaille-icone span,
.article-detaille-icone span,
.article-detaille-icone > span,
.article-detaille-icone > *,
.article-detaille-icone > span > span,
.article-detaille-icone svg,
.article-detaille-icone svg,
.article-detaille-icone i {
.article-detaille-icone i {
Ligne 49 : Ligne 49 :
   border-radius: 0 !important;
   border-radius: 0 !important;
   box-shadow: none !important;
   box-shadow: none !important;
   display: inline !important;
   outline: none !important;
   color: inherit !important;
   color: inherit !important;
}
}
Ligne 59 : Ligne 59 :
   align-items: baseline;
   align-items: baseline;
   gap: 6px;
   gap: 6px;
  font-size: 0.95em;
}
}


Ligne 66 : Ligne 65 :
   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: 400;
   font-weight: 500;
}
}


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


.article-detaille-liens a:hover {
.article-detaille-liens a:hover {
   border-bottom-style: solid;
   text-decoration: underline;
}
}


Ligne 93 : Ligne 87 :


[data-theme="dark"] .article-detaille {
[data-theme="dark"] .article-detaille {
  background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
   border-left-color: #64b5f6;
   border-left-color: #64b5f6;
}
}
Ligne 110 : Ligne 105 :
[data-theme="dark"] .article-detaille-liens a {
[data-theme="dark"] .article-detaille-liens a {
   color: #64b5f6;
   color: #64b5f6;
  border-bottom-color: #64b5f6;
}
}


Ligne 119 : Ligne 113 :
@media (max-width: 768px) {
@media (max-width: 768px) {
   .article-detaille {
   .article-detaille {
     gap: 8px;
     gap: 10px;
     padding: 8px 10px;
     padding: 10px 14px;
   }
   }
    
    
   .article-detaille-icone {
   .article-detaille-icone {
     font-size: 18px;
     font-size: 20px;
   }
   }
    
    
Ligne 130 : Ligne 124 :
     flex-direction: column;
     flex-direction: column;
     align-items: flex-start;
     align-items: flex-start;
     gap: 2px;
     gap: 4px;
   }
   }
}
}

Version du 28 octobre 2025 à 13:34

/* ================================
   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;
  /* FORCER la suppression des encadrés */
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  display: inline-flex !important;
}

/* Cibler TOUS les éléments enfants de l'icône */
.article-detaille-icone *,
.article-detaille-icone span,
.article-detaille-icone > *,
.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;
  outline: none !important;
  color: inherit !important;
}

.article-detaille-contenu {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}

.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;
  transition: text-decoration 0.2s ease;
}

.article-detaille-liens a:hover {
  text-decoration: underline;
}

/* ================================
   MODE SOMBRE
   ================================ */

[data-theme="dark"] .article-detaille {
  background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
  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;
}

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 768px) {
  .article-detaille {
    gap: 10px;
    padding: 10px 14px;
  }
  
  .article-detaille-icone {
    font-size: 20px;
  }
  
  .article-detaille-contenu {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}
Les témoins (''cookies'') nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de témoins.