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:ButtonGrid/styles.css » : différence entre les versions

De Nefald
Agrado (discussion | contributions)
Aucun résumé des modifications
Agrado (discussion | contributions)
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
/* Conteneur: pleine largeur + en ligne */
/* Conteneur principal */
.minicardv2-container{
.minicardv2-container{
  width:100% !important;
  margin:0 !important;
  padding:.4rem 0 !important;
  /* Ligne */
   display:flex !important;
   display:flex !important;
   flex-direction:row !important;
   flex-direction:row !important;
   flex-wrap:nowrap !important;
   flex-wrap:nowrap !important;
  gap:.6rem !important;
  align-items:stretch !important;


   align-items:stretch;
   /* Responsive: scroll si trop serré */
  gap:.6rem;
 
  width:100% !important;
  padding:.4rem 0;
  margin:0;
 
  background:transparent;
  border:0;
 
   overflow-x:auto;
   overflow-x:auto;
   overflow-y:hidden;
   overflow-y:hidden;
   box-sizing:border-box;
 
  /* Pas d'encadré hérité */
  background:transparent !important;
  border:0 !important;
   box-shadow:none !important;
}
}


/* Empêche les wrappers <p> de casser la ligne */
/* Le point bloquant chez toi : le paramètre est rendu dans un <pre> */
.minicardv2-container > p{
.minicardv2-container pre{
  /* on annule l'effet "code block" */
   margin:0 !important;
   margin:0 !important;
   padding:0 !important;
   padding:0 !important;
   background:transparent;
  border:0 !important;
   border:0;
   background:transparent !important;
   box-shadow:none !important;


   /* on ne peut pas utiliser display:contents -> on force inline */
   /* on neutralise l'affichage pre */
   display:inline !important;
  display:flex !important;
}
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  gap:.6rem !important;
  align-items:stretch !important;
 
  /* le pre garde normalement les retours ligne */
   white-space:normal !important;


/* Retire les <br> générés par les retours ligne */
  width:100% !important;
.minicardv2-container br{
   overflow:visible !important;
   display:none !important;
}
}


/* Les tuiles : on cible tous les liens (certain skins n'ont pas .external) */
/* Les tuiles : tes liens sont <a class="external text"> */
.minicardv2-container a{
.minicardv2-container a.external.text{
   display:inline-flex !important;
   display:flex !important;
   align-items:center;
   align-items:center !important;
   justify-content:center;
   justify-content:center !important;
   gap:.5rem;
   gap:.5rem !important;


  /* Adaptation au nombre de tuiles */
   flex:1 1 0 !important;
   flex:1 1 0 !important;
   min-width:120px;
   min-width:120px;                 /* ajuste (ex 100/140) */


   padding:.55rem .8rem;
   padding:.55rem .8rem !important;
   border-radius:12px;
   border-radius:12px !important;


   font-weight:600;
   font-weight:600 !important;
   text-decoration:none !important;
   text-decoration:none !important;
   white-space:nowrap;
   white-space:nowrap !important;


   background-color:#111;
   background-color:#111 !important;
   color:#fff;
   color:#fff !important;


   background-image:none !important;
   background-image:none !important;
Ligne 60 : Ligne 70 :


/* Icône */
/* Icône */
.minicardv2-container a img{
.minicardv2-container a.external.text img{
   width:18px;
   width:18px;
   height:18px;
   height:18px;
}
}

Version du 4 février 2026 à 19:45

/* Conteneur principal */
.minicardv2-container{
  width:100% !important;
  margin:0 !important;
  padding:.4rem 0 !important;

  /* Ligne */
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  gap:.6rem !important;
  align-items:stretch !important;

  /* Responsive: scroll si trop serré */
  overflow-x:auto;
  overflow-y:hidden;

  /* Pas d'encadré hérité */
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}

/* Le point bloquant chez toi : le paramètre est rendu dans un <pre> */
.minicardv2-container pre{
  /* on annule l'effet "code block" */
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;

  /* on neutralise l'affichage pre */
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  gap:.6rem !important;
  align-items:stretch !important;

  /* le pre garde normalement les retours ligne */
  white-space:normal !important;

  width:100% !important;
  overflow:visible !important;
}

/* Les tuiles : tes liens sont <a class="external text"> */
.minicardv2-container a.external.text{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:.5rem !important;

  /* Adaptation au nombre de tuiles */
  flex:1 1 0 !important;
  min-width:120px;                 /* ajuste (ex 100/140) */

  padding:.55rem .8rem !important;
  border-radius:12px !important;

  font-weight:600 !important;
  text-decoration:none !important;
  white-space:nowrap !important;

  background-color:#111 !important;
  color:#fff !important;

  background-image:none !important;
}

/* Icône */
.minicardv2-container a.external.text img{
  width:18px;
  height:18px;
}
Les témoins (''cookies'') nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de témoins.