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)
m taille icone et position
Ligne 40 : Ligne 40 :
}
}


/* Conteneur d'image centré */
/* Conteneur d'image - prend tout l'espace */
.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: 8px;
    box-sizing: border-box;
}
}


/* Image responsive */
/* Image responsive - remplit le conteneur */
.icon-button img {
.icon-button img {
     max-width: 100%;
     max-width: 100% !important;
     max-height: 100%;
     max-height: 100% !important;
     width: auto !important;
     width: auto !important;
     height: auto !important;
     height: auto !important;
     object-fit: contain;
     object-fit: contain;
     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 77 : Ligne 83 :
.icon-button--snapchat { background: #fffc00; }
.icon-button--snapchat { background: #fffc00; }
.icon-button--pinterest { background: #e60023; }
.icon-button--pinterest { background: #e60023; }
.icon-button--telegram { background: #26a5e4; }
.icon-button--whatsapp { background: #25d366; }
.icon-button--whatsapp { background: #25d366; }
.icon-button--telegram { background: #0088cc; }
.icon-button--signal { background: #3a76f0; }
.icon-button--signal { background: #3a76f0; }


/* DÉVELOPPEMENT */
/* PLATEFORMES TECH */
.icon-button--github { background: #181717; }
.icon-button--github { background: #181717; }
.icon-button--gitlab { background: #fc6d26; }
.icon-button--gitlab { background: #fc6d26; }
.icon-button--bitbucket { background: #0052cc; }
.icon-button--codepen { background: #000000; }
.icon-button--npm { background: #cb3837; }
.icon-button--stackoverflow { background: #f48024; }
.icon-button--stackoverflow { background: #f48024; }
.icon-button--dev { background: #0a0a0a; }
.icon-button--medium { background: #000000; }
.icon-button--substack { background: #ff6719; }
.icon-button--hashnode { background: #2962ff; }


/* MINECRAFT MODLOADERS */
/* GAMING */
.icon-button--fabric { background: #dbd3c8; }
.icon-button--steam { background: #171a21; }
.icon-button--forge { background: #1e2c42; }
.icon-button--epicgames { background: #313131; }
.icon-button--minecraft { background: #62b47a; }
.icon-button--playstation { background: #003087; }
.icon-button--neoforge { background: #ff6b35; }
.icon-button--xbox { background: #107c10; }
.icon-button--quilt { background: #8b5cf6; }
.icon-button--nintendo { background: #e60012; }
 
/* PLATEFORMES DE PLUGINS */
.icon-button--bukkit { background: #f7931e; }
.icon-button--curseforge { background: #f16436; }
.icon-button--github-releases { background: #238636; }
.icon-button--hangar { background: #0089ff; }
.icon-button--modrinth { background: #1bd96a; }
.icon-button--paper { background: #1a8cff; }
.icon-button--polymart { background: #2196f3; }
.icon-button--purpur { background: #a855f7; }
.icon-button--spigot { background: #ed8106; }
 
/* PLATEFORMES DE FINANCEMENT */
.icon-button--buymeacoffee { background: #ffdd00; }
.icon-button--helloasso { background: #4C40CF; }
.icon-button--helloasso:hover { background: #3d3fc7; }
.icon-button--kofi { background: #ff5e5b; }
.icon-button--liberapay { background: #f6c915; }
.icon-button--opencollective { background: #7fadf2; }
.icon-button--patreon { background: #ff424d; }
.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: #1d1d1dff; }
.icon-button--stripe { background: #635BFF; }


/* LOGICIELS SERVEUR */
/* MUSIQUE/VIDÉO */
.icon-button--velocity { background: #3fa9f5; }
.icon-button--spotify { background: #1db954; }
.icon-button--waterfall { background: #0088ff; }
.icon-button--soundcloud { background: #ff5500; }
.icon-button--bungeecord { background: #ffcc00; }
.icon-button--applemusic { background: #fa243c; }
.icon-button--sponge { background: #f7cf0d; }
.icon-button--deezer { background: #00c7f2; }
.icon-button--vimeo { background: #1ab7ea; }
.icon-button--dailymotion { background: #0066dc; }


/* MODPACKS */
/* OUTILS PRO */
.icon-button--ftb { background: #8e44ad; }
.icon-button--slack { background: #4a154b; }
.icon-button--feed-the-beast { background: #8e44ad; }
.icon-button--notion { background: #000000; }
.icon-button--technic { background: #e74c3c; }
.icon-button--trello { background: #0052cc; }
.icon-button--atlauncher { background: #3498db; }
.icon-button--asana { background: #f06a6a; }
.icon-button--jira { background: #0052cc; }


/* COULEURS SÉMANTIQUES */
/* COULEURS GÉNÉRIQUES */
.icon-button--primary { background: #3366cc; }
.icon-button--primary, .icon-button--blue { background: #3366cc; }
.icon-button--blue { background: #3366cc; }
.icon-button--secondary, .icon-button--gray, .icon-button--grey { background: #72777d; }
.icon-button--secondary { background: #72777d; }
.icon-button--success, .icon-button--green { background: #14866d; }
.icon-button--gray { background: #6c757d; }
.icon-button--danger, .icon-button--red { background: #d73333; }
.icon-button--grey { background: #6c757d; }
.icon-button--warning, .icon-button--yellow { background: #fc3; }
.icon-button--success { background: #14866d; }
.icon-button--info, .icon-button--cyan { background: #00b8d4; }
.icon-button--green { background: #14866d; }
.icon-button--purple, .icon-button--violet { background: #6f42c1; }
.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.