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

De Nefald
Agrado (discussion | contributions)
Page créée avec « .sb-footer{ width: 100%; box-sizing: border-box; display: flex; flex-wrap: wrap; gap: 18px; padding: 18px; border-radius: 12px; overflow: hidden; background: #343a40; box-shadow: 0 2px 8px rgba(0,0,0,.12); } .sb-col{ flex: 1 1 320px; min-width: 280px; display: flex; flex-direction: column; gap: 10px; } .sb-title{ color: #fff; font-weight: 700; font-size: 1.15rem; line-height: 1.2; } .sb-row{ display: flex; flex-wra... »
 
Agrado (discussion | contributions)
Aucun résumé des modifications
Balise : Révoqué
Ligne 1 : Ligne 1 :
/* Conteneur bandeau */
.sb-footer{
.sb-footer{
   width: 100%;
   width: 100%;
Ligne 12 : Ligne 13 :


   background: #343a40;
   background: #343a40;
   box-shadow: 0 2px 8px rgba(0,0,0,.12);
   box-shadow: 0 2px 8px rgba(0,0,0,.10);
}
}


Ligne 38 : Ligne 39 :
}
}


/* --- Boutons icônes 58x58 --- */
/* IMPORTANT : on stylise l'ancre générée par MediaWiki (le [URL LABEL]) */
.sb-icon{
.sb-row a.external{
   width: 58px;
   text-decoration: none !important;
   height: 58px;
   color: inherit !important;
  display: inline-flex; /* pour que le lien épouse le LABEL */
}


  display: inline-flex;
/* Masquer l'icône de lien externe (comme ButtonLink) */
  align-items: center;
.sb-row a.external::after{
   justify-content: center;
   display: none !important;
}


/* Boutons - look ButtonLink (radius, shadow, hover, transitions) */
.sb-icon,
.sb-support{
   border-radius: 12px;
   border-radius: 12px;
   overflow: hidden;
   overflow: hidden;


   text-decoration: none !important;
   transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
   color: #fff !important;
   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);


   box-shadow: 0 2px 8px rgba(0,0,0,.12);
   position: relative;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
 
.sb-icon:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
  filter: brightness(1.02);
}


/* --- Boutons soutien : hauteur 58, largeur auto --- */
.sb-support{
  height: 58px;
   display: inline-flex;
   display: inline-flex;
   align-items: center;
   align-items: center;
   gap: 10px;
   justify-content: center;


   padding: 0 14px;
   /* fallback si aucune classe button-link--xxx */
   border-radius: 12px;
   background: #6c757d;
  overflow: hidden;
}


   text-decoration: none !important;
.sb-icon:hover,
   color: #fff !important;
.sb-support:hover{
   transform: translateY(-2px);
   box-shadow: 0 4px 16px rgba(0, 0, 0, 0.20);
}


   box-shadow: 0 2px 8px rgba(0,0,0,.12);
/* Réseaux : 58x58 */
   transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
.sb-icon{
   width: 58px;
   height: 58px;
}
}


.sb-support:hover{
/* Soutien : hauteur 58, largeur auto */
   transform: translateY(-1px);
.sb-support{
   box-shadow: 0 6px 18px rgba(0,0,0,.22);
  height: 58px;
   filter: brightness(1.02);
  padding: 0 14px;
  gap: 10px;
   justify-content: flex-start;
   min-width: 220px; /* ajuste si tu veux plus compact */
   box-sizing: border-box;
}
}


.sb-support__text{
.sb-support__text{
  color: #fff;
   font-weight: 700;
   font-weight: 700;
   white-space: nowrap;
   white-space: nowrap;
Ligne 96 : Ligne 102 :
   width: 28px !important;
   width: 28px !important;
   height: 28px !important;
   height: 28px !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.10));
   display: block;
   display: block;
}
}
Ligne 102 : Ligne 112 :
   width: 22px !important;
   width: 22px !important;
   height: 22px !important;
   height: 22px !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.10));
   display: block;
   display: block;
}
/* Masquer l'icône "lien externe" MediaWiki dans le bandeau */
.sb-footer a.external::after{
  display: none !important;
}
}

Version du 5 février 2026 à 08:05

/* Conteneur bandeau */
.sb-footer{
  width: 100%;
  box-sizing: border-box;

  display: flex;
  flex-wrap: wrap;
  gap: 18px;

  padding: 18px;
  border-radius: 12px;
  overflow: hidden;

  background: #343a40;
  box-shadow: 0 2px 8px rgba(0,0,0,.10);
}

.sb-col{
  flex: 1 1 320px;
  min-width: 280px;

  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sb-title{
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.2;
}

.sb-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* IMPORTANT : on stylise l'ancre générée par MediaWiki (le [URL LABEL]) */
.sb-row a.external{
  text-decoration: none !important;
  color: inherit !important;
  display: inline-flex; /* pour que le lien épouse le LABEL */
}

/* Masquer l'icône de lien externe (comme ButtonLink) */
.sb-row a.external::after{
  display: none !important;
}

/* Boutons - look ButtonLink (radius, shadow, hover, transitions) */
.sb-icon,
.sb-support{
  border-radius: 12px;
  overflow: hidden;

  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);

  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* fallback si aucune classe button-link--xxx */
  background: #6c757d;
}

.sb-icon:hover,
.sb-support:hover{
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.20);
}

/* Réseaux : 58x58 */
.sb-icon{
  width: 58px;
  height: 58px;
}

/* Soutien : hauteur 58, largeur auto */
.sb-support{
  height: 58px;
  padding: 0 14px;
  gap: 10px;
  justify-content: flex-start;
  min-width: 220px; /* ajuste si tu veux plus compact */
  box-sizing: border-box;
}

.sb-support__text{
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

/* Images */
.sb-icon img{
  width: 28px !important;
  height: 28px !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.10));
  display: block;
}

.sb-support__icon img{
  width: 22px !important;
  height: 22px !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.10));
  display: block;
}
Les témoins (''cookies'') nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de témoins.