« Modèle:SocialButton/styles.css » : différence entre les versions
De Nefald
Autres actions
Aucun résumé des modifications Balise : Révoqué |
Aucun résumé des modifications Balise : Révoqué |
||
| Ligne 1 : | Ligne 1 : | ||
/* | /* =============================== | ||
Bandeau | |||
=============================== */ | |||
.sb-footer{ | .sb-footer{ | ||
display:flex; | display:flex; | ||
align-items:center; | align-items:center; | ||
gap: | gap:16px; | ||
padding:14px 16px; | padding:14px 16px; | ||
border- | width:100%; | ||
box-sizing:border-box; | |||
background:transparent; | background:transparent; | ||
} | } | ||
/* Titres */ | |||
/* =============================== | |||
Titres | |||
=============================== */ | |||
.sb-title{ | .sb-title{ | ||
font-weight:700; | font-weight:700; | ||
font-size:1.05rem; | font-size:1.05rem; | ||
white-space:nowrap; | white-space:nowrap; | ||
color:#000 | color:#000; | ||
} | } | ||
.sb-spacer{ | |||
.sb-spacer{ flex:1 | flex:1; | ||
} | |||
/* =============================== | |||
Groupes | |||
=============================== */ | |||
.sb-buttons{ | .sb-buttons{ | ||
display:flex; | display:flex; | ||
align-items:center; | align-items:center; | ||
gap:10px; | gap:10px; | ||
} | } | ||
/* | |||
/* =============================== | |||
Boutons (style ButtonLink-like) | |||
=============================== */ | |||
.sb-btn{ | .sb-btn{ | ||
border-radius:12px; | border-radius:12px; | ||
overflow:hidden; | overflow:hidden; | ||
display:inline-flex; | |||
display:inline-flex; | |||
align-items:center; | align-items:center; | ||
justify-content:center; | justify-content:center; | ||
box-shadow:0 2px 8px rgba(0,0,0,.10); | |||
transition:.2s; | |||
} | } | ||
| Ligne 59 : | Ligne 62 : | ||
} | } | ||
/* | |||
.sb-icon{ width:58px; height:58px; } | /* tailles */ | ||
.sb-icon{ | |||
width:58px; | |||
height:58px; | |||
} | |||
.sb-support{ | .sb-support{ | ||
height:58px; | height:58px; | ||
| Ligne 67 : | Ligne 75 : | ||
} | } | ||
/* | |||
.sb-footer a | /* lien MW */ | ||
.sb-footer a{ | |||
display:flex; | |||
display: | |||
align-items:center; | align-items:center; | ||
gap:10px; | gap:10px; | ||
text-decoration:none !important; | |||
color:#fff !important; | color:#fff !important; | ||
} | } | ||
/* | /* supprimer icône externe */ | ||
.sb-footer a.external::after{ | |||
.sb-footer a.external::after | |||
display:none !important; | display:none !important; | ||
} | } | ||
/* | /* images */ | ||
.sb-icon img{ | .sb-icon img{ | ||
width:28px !important; | width:28px !important; | ||
height:28px !important; | height:28px !important; | ||
} | } | ||
| Ligne 132 : | Ligne 101 : | ||
width:22px !important; | width:22px !important; | ||
height:22px !important; | height:22px !important; | ||
} | } | ||
/* Responsive | /* =============================== | ||
Responsive | |||
=============================== */ | |||
@media (max-width:900px){ | @media (max-width:900px){ | ||
.sb-footer{ | .sb-footer{ | ||
flex-wrap:wrap; | flex-wrap:wrap; | ||
} | } | ||
} | } | ||
Version du 5 février 2026 à 08:27
/* ===============================
Bandeau
=============================== */
.sb-footer{
display:flex;
align-items:center;
gap:16px;
padding:14px 16px;
width:100%;
box-sizing:border-box;
background:transparent;
}
/* ===============================
Titres
=============================== */
.sb-title{
font-weight:700;
font-size:1.05rem;
white-space:nowrap;
color:#000;
}
.sb-spacer{
flex:1;
}
/* ===============================
Groupes
=============================== */
.sb-buttons{
display:flex;
align-items:center;
gap:10px;
}
/* ===============================
Boutons (style ButtonLink-like)
=============================== */
.sb-btn{
border-radius:12px;
overflow:hidden;
display:inline-flex;
align-items:center;
justify-content:center;
box-shadow:0 2px 8px rgba(0,0,0,.10);
transition:.2s;
}
.sb-btn:hover{
transform:translateY(-2px);
box-shadow:0 4px 16px rgba(0,0,0,.20);
}
/* tailles */
.sb-icon{
width:58px;
height:58px;
}
.sb-support{
height:58px;
padding:0 14px;
gap:10px;
}
/* lien MW */
.sb-footer a{
display:flex;
align-items:center;
gap:10px;
text-decoration:none !important;
color:#fff !important;
}
/* supprimer icône externe */
.sb-footer a.external::after{
display:none !important;
}
/* images */
.sb-icon img{
width:28px !important;
height:28px !important;
}
.sb-support img{
width:22px !important;
height:22px !important;
}
/* ===============================
Responsive
=============================== */
@media (max-width:900px){
.sb-footer{
flex-wrap:wrap;
}
}