« Modèle:SocialButton/styles.css » : différence entre les versions
De Nefald
Autres actions
Annulation des modifications 4279 de Agrado (discussion) Balise : Annulation |
Annulation des modifications 4277 de Agrado (discussion) Balise : Annulation |
||
| Ligne 1 : | Ligne 1 : | ||
.sb-footer{ | .sb-footer{ | ||
width: 100%; | width: 100%; | ||
| Ligne 13 : | Ligne 12 : | ||
background: #343a40; | background: #343a40; | ||
box-shadow: 0 2px 8px rgba(0,0,0,. | box-shadow: 0 2px 8px rgba(0,0,0,.12); | ||
} | } | ||
| Ligne 39 : | Ligne 38 : | ||
} | } | ||
/* | /* --- Boutons icônes 58x58 --- */ | ||
.sb- | .sb-icon{ | ||
width: 58px; | |||
height: 58px; | |||
display: inline-flex; | |||
align-items: center; | |||
justify-content: center; | |||
border-radius: 12px; | border-radius: 12px; | ||
overflow: hidden; | overflow: hidden; | ||
text-decoration: none !important; | |||
color: #fff !important; | |||
box-shadow: 0 2px 8px rgba(0,0,0,.12); | |||
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; | |||
padding: 0 14px; | |||
border-radius: 12px; | |||
overflow: hidden; | |||
text-decoration: none !important; | |||
color: #fff !important; | |||
box-shadow: 0 2px 8px rgba(0,0,0,.12); | |||
. | transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; | ||
} | } | ||
.sb-support:hover{ | |||
.sb-support{ | transform: translateY(-1px); | ||
box-shadow: 0 6px 18px rgba(0,0,0,.22); | |||
filter: brightness(1.02); | |||
} | } | ||
.sb-support__text{ | .sb-support__text{ | ||
font-weight: 700; | font-weight: 700; | ||
white-space: nowrap; | white-space: nowrap; | ||
| Ligne 102 : | Ligne 96 : | ||
width: 28px !important; | width: 28px !important; | ||
height: 28px !important; | height: 28px !important; | ||
display: block; | display: block; | ||
} | } | ||
| Ligne 112 : | Ligne 102 : | ||
width: 22px !important; | width: 22px !important; | ||
height: 22px !important; | height: 22px !important; | ||
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:12
.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-wrap: wrap;
gap: 10px;
align-items: center;
}
/* --- Boutons icônes 58x58 --- */
.sb-icon{
width: 58px;
height: 58px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 12px;
overflow: hidden;
text-decoration: none !important;
color: #fff !important;
box-shadow: 0 2px 8px rgba(0,0,0,.12);
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;
align-items: center;
gap: 10px;
padding: 0 14px;
border-radius: 12px;
overflow: hidden;
text-decoration: none !important;
color: #fff !important;
box-shadow: 0 2px 8px rgba(0,0,0,.12);
transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.sb-support:hover{
transform: translateY(-1px);
box-shadow: 0 6px 18px rgba(0,0,0,.22);
filter: brightness(1.02);
}
.sb-support__text{
font-weight: 700;
white-space: nowrap;
}
/* Images */
.sb-icon img{
width: 28px !important;
height: 28px !important;
display: block;
}
.sb-support__icon img{
width: 22px !important;
height: 22px !important;
display: block;
}
/* Masquer l'icône "lien externe" MediaWiki dans le bandeau */
.sb-footer a.external::after{
display: none !important;
}