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

De Nefald
Hiob (discussion | contributions)
Création
 
Hiob (discussion | contributions)
retrait text mode
 
(20 versions intermédiaires par le même utilisateur non affichées)
Ligne 4 : Ligne 4 :


.icon-button {
.icon-button {
     width: 48px;
     width: 60px;
     height: 48px;
     height: 60px;
     border-radius: 8px;
     border-radius: 8px;
     overflow: hidden;
     overflow: hidden;
Ligne 30 : Ligne 30 :
     width: 100%;
     width: 100%;
     height: 100%;
     height: 100%;
     padding: 0;
     padding: 8px !important;
    box-sizing: border-box;
     color: transparent !important;
     color: transparent !important;
     text-decoration: none !important;
     text-decoration: none !important;
}
}


.icon-button a:hover,
/* Conteneur d'image */
.icon-button a:visited {
    color: transparent !important;
}
 
/* Conteneur d'image centré */
.icon-button .mw-file-description {
.icon-button .mw-file-description {
     display: flex;
     display: flex !important;
     align-items: center;
     align-items: center;
     justify-content: center;
     justify-content: center;
     width: 32px;
     width: 100% !important;
     height: 32px;
     height: 100% !important;
     margin: 0;
     margin: 0 !important;
     overflow: hidden;
     padding: 0 !important;
}
}


/* Image responsive */
/* Image responsive */
.icon-button img {
.icon-button img {
     max-width: 100%;
     max-width: 100% !important;
     max-height: 100%;
     max-height: 100% !important;
     width: auto !important;
     width: 100% !important;
     height: auto !important;
     height: 100% !important;
     object-fit: contain;
     object-fit: contain !important;
     filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
     filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}
/* Masquer l'icône de lien externe */
.icon-button a.external::after {
    display: none !important;
}
}


Ligne 64 : Ligne 65 :


/* RÉSEAUX SOCIAUX */
/* RÉSEAUX SOCIAUX */
.icon-button--bluesky { background: #0085ff; }
.icon-button--discord { background: #5865f2; }
.icon-button--discord { background: #5865f2; }
.icon-button--twitter { background: #1da1f2; }
.icon-button--x { background: #000000; }
.icon-button--mastodon { background: #6364ff; }
.icon-button--facebook { background: #1877f2; }
.icon-button--facebook { background: #1877f2; }
.icon-button--instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.icon-button--instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.icon-button--youtube { background: #ff0000; }
.icon-button--linkedin { background: #0077b5; }
.icon-button--twitch { background: #9146ff; }
.icon-button--mastodon { background: #6364ff; }
.icon-button--tiktok { background: #000000; }
.icon-button--linkedin { background: #0a66c2; }
.icon-button--reddit { background: #ff4500; }
.icon-button--reddit { background: #ff4500; }
.icon-button--snapchat { background: #fffc00; }
.icon-button--snapchat { background: #fffc00; }
.icon-button--pinterest { background: #e60023; }
.icon-button--threads { background: #000000; }
.icon-button--whatsapp { background: #25d366; }
.icon-button--tiktok { background: #000000; }
.icon-button--telegram { background: #0088cc; }
.icon-button--twitch { background: #9146ff; }
.icon-button--signal { background: #3a76f0; }
.icon-button--twitter { background: #1da1f2; }
.icon-button--youtube { background: #ff0000; }


/* DÉVELOPPEMENT */
/* HÉBERGEMENT DE CODE */
.icon-button--github { background: #181717; }
.icon-button--github { background: #24292e; }
.icon-button--gitlab { background: #fc6d26; }
.icon-button--gitlab { background: #fc6f23; }
.icon-button--bitbucket { background: #0052cc; }
 
.icon-button--codepen { background: #000000; }
/* SERVICES DE DÉVELOPPEMENT */
.icon-button--codepen { background: #ffffff; }
.icon-button--docker { background: #2496ed; }
.icon-button--gradle { background: #02303a; }
.icon-button--jenkins { background: #d24939; }
.icon-button--kubernetes { background: #326ce5; }
.icon-button--maven { background: #c71a36; }
.icon-button--npm { background: #cb3837; }
.icon-button--npm { background: #cb3837; }
.icon-button--stackoverflow { background: #f48024; }
.icon-button--stackoverflow { background: #f48024; }
Ligne 110 : Ligne 114 :
.icon-button--buymeacoffee { background: #ffdd00; }
.icon-button--buymeacoffee { background: #ffdd00; }
.icon-button--helloasso { background: #4C40CF; }
.icon-button--helloasso { background: #4C40CF; }
.icon-button--helloasso:hover { background: #3d3fc7; }
.icon-button--kofi { background: #ff5e5b; }
.icon-button--kofi { background: #ff5e5b; }
.icon-button--liberapay { background: #f6c915; }
.icon-button--liberapay { background: #f6c915; }
Ligne 116 : Ligne 119 :
.icon-button--patreon { background: #ff424d; }
.icon-button--patreon { background: #ff424d; }
.icon-button--paypal { background: linear-gradient(135deg, #0070ba 0%, #1546a0 100%); }
.icon-button--paypal { background: linear-gradient(135deg, #0070ba 0%, #1546a0 100%); }
.icon-button--paypal:hover { background: linear-gradient(135deg, #005ea6 0%, #003087 100%); }
.icon-button--qonto { background: #1d1d1d; }
.icon-button--qonto { background: #1d1d1dff; }
.icon-button--stripe { background: #635BFF; }
.icon-button--stripe { background: #635BFF; }


/* LOGICIELS SERVEUR */
/* COULEURS STANDARDS */
.icon-button--velocity { background: #3fa9f5; }
.icon-button--primary, .icon-button--blue { background: #3366cc; }
.icon-button--waterfall { background: #0088ff; }
.icon-button--secondary, .icon-button--gray, .icon-button--grey { background: #72777d; }
.icon-button--bungeecord { background: #ffcc00; }
.icon-button--success, .icon-button--green { background: #14866d; }
.icon-button--sponge { background: #f7cf0d; }
.icon-button--danger, .icon-button--red { background: #d73333; }
 
.icon-button--warning, .icon-button--yellow { background: #fc3; }
/* MODPACKS */
.icon-button--info, .icon-button--cyan { background: #00b8d4; }
.icon-button--ftb { background: #8e44ad; }
.icon-button--purple, .icon-button--violet { background: #6f42c1; }
.icon-button--feed-the-beast { background: #8e44ad; }
.icon-button--technic { background: #e74c3c; }
.icon-button--atlauncher { background: #3498db; }
 
/* COULEURS SÉMANTIQUES */
.icon-button--primary { background: #3366cc; }
.icon-button--blue { background: #3366cc; }
.icon-button--secondary { background: #72777d; }
.icon-button--gray { background: #6c757d; }
.icon-button--grey { background: #6c757d; }
.icon-button--success { background: #14866d; }
.icon-button--green { background: #14866d; }
.icon-button--danger { background: #d73333; }
.icon-button--red { background: #d73333; }
.icon-button--warning { background: #fc3; }
.icon-button--yellow { background: #fc3; }
.icon-button--info { background: #00b8d4; }
.icon-button--cyan { background: #00b8d4; }
.icon-button--purple { background: #6f42c1; }
.icon-button--violet { background: #6f42c1; }
.icon-button--pink { background: #d63384; }
.icon-button--pink { background: #d63384; }
.icon-button--orange { background: #fd7e14; }
.icon-button--orange { background: #fd7e14; }
Les témoins (''cookies'') nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de témoins.